From 017c61fc1141d2078cdf9643e066b4641a8159c3 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Fri, 20 Sep 2024 13:58:08 +0200 Subject: [PATCH] hosts -> Zephyrus: Finalize disko config --- hosts/Zephyrus/disko-config.nix | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/hosts/Zephyrus/disko-config.nix b/hosts/Zephyrus/disko-config.nix index a0e63a3..5059924 100644 --- a/hosts/Zephyrus/disko-config.nix +++ b/hosts/Zephyrus/disko-config.nix @@ -43,8 +43,15 @@ pool = { type = "lvm_vg"; lvs = { + swap = { + size = "16G"; + content = { + type = "swap"; + resumeDevice = true; + }; + }; root = { - size = "100M"; + size = "64G"; content = { type = "filesystem"; format = "ext4"; @@ -54,17 +61,22 @@ ]; }; }; + var = { + size = "32G"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/var"; + }; + }; home = { - size = "10M"; + size = "100%FREE"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/home"; }; }; - raw = { - size = "10M"; - }; }; }; };