diff options
author | ene <ene@sils.li> | 2023-02-04 22:17:24 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-04 22:22:59 +0100 |
commit | a433b7df295f924bc3259fdb7ece389a31ae3181 (patch) | |
tree | d30708b708e631ae13602fc4f0f68968df934d4c /system/filesystemLayouts/filesystemLayouts.nix | |
parent | Feat: New host (diff) | |
download | nixos-config-a433b7df295f924bc3259fdb7ece389a31ae3181.tar.gz nixos-config-a433b7df295f924bc3259fdb7ece389a31ae3181.zip |
Feat: Reworked the Filesystem configuration
This reduces the unnecessary complexity of the whole fileSystemLayouts.nix file.
Diffstat (limited to 'system/filesystemLayouts/filesystemLayouts.nix')
-rw-r--r-- | system/filesystemLayouts/filesystemLayouts.nix | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/system/filesystemLayouts/filesystemLayouts.nix b/system/filesystemLayouts/filesystemLayouts.nix index 5992179a..ad51bbb8 100644 --- a/system/filesystemLayouts/filesystemLayouts.nix +++ b/system/filesystemLayouts/filesystemLayouts.nix @@ -30,32 +30,22 @@ in { "/nix" = { device = cfg.mainDisk; fsType = "btrfs"; - options = ["subvol=@nix" "compress-force=zstd:9"]; + options = ["subvol=nix" "compress-force=zstd:15"]; }; - "/boot" = { - device = cfg.efiDisk; - fsType = "vfat"; - }; - - "/srv/home" = { + "/srv" = { device = cfg.mainDisk; fsType = "btrfs"; - options = ["subvol=@home" "compress-force=zstd:9"]; + options = ["subvol=storage" "compress-force=zstd:15"]; }; - "/srv/nixos-config" = { - device = cfg.mainDisk; - fsType = "btrfs"; - options = ["subvol=@nixos-config" "compress-force=zstd:9"]; + "/boot" = { + device = cfg.efiDisk; + fsType = "vfat"; }; "/etc/nixos" = { device = "/srv/nix-config"; options = ["bind"]; }; - "/home" = { - device = "/srv/home"; - options = ["bind"]; - }; }; swapDevices = []; }; |