diff options
author | sils <sils@sils.li> | 2023-01-08 19:20:43 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-01-08 19:20:43 +0100 |
commit | 1a4a554a7795c852b7da968dccf4a8e0585543a6 (patch) | |
tree | 09007977aecf9c4ea33593f7cae707efafc028d6 | |
parent | remove unnecessary boot-entries (diff) | |
download | nix-config-1a4a554a7795c852b7da968dccf4a8e0585543a6.tar.gz nix-config-1a4a554a7795c852b7da968dccf4a8e0585543a6.zip |
switch away from temp-root
Diffstat (limited to '')
-rw-r--r-- | hardware/basesystem.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/hardware/basesystem.nix b/hardware/basesystem.nix index 1a9b7e1..ea1d303 100644 --- a/hardware/basesystem.nix +++ b/hardware/basesystem.nix @@ -25,39 +25,39 @@ fileSystems = { "/" = { - device = "tmpfs"; - fsType = "tmpfs"; - options = [ "defaults" "size=2G" "mode=755" ]; + device = "/dev/disk/by-label/nixos-root"; + fsType = "btrfs"; + options = [ "subvol=nixos-root" "compress-force=zstd"]; }; "/nix" = { device = "/dev/disk/by-label/nixos-root"; fsType = "btrfs"; - options = [ "subvol=nix" "compress=zstd" ]; + options = [ "subvol=nix" "compress-force=zstd" ]; }; "/etc/NetworkManager" = { device = "/dev/disk/by-label/nixos-root"; fsType = "btrfs"; - options = [ "subvol=networkmanagerconfig" "compress=zstd" ]; + options = [ "subvol=networkmanagerconfig" "compress-force=zstd" ]; }; "/etc/nixos" = { device = "/dev/disk/by-label/nixos-root"; fsType = "btrfs"; - options = [ "subvol=nixconfig" "compress=zstd" ]; + options = [ "subvol=nixconfig" "compress-force=zstd" ]; }; "/srv" = { device = "/dev/disk/by-label/nixos-root"; fsType = "btrfs"; - options = [ "subvol=srv" "compress=zstd" ]; + options = [ "subvol=srv" "compress-force=zstd" ]; }; "/home" = { device = "/dev/disk/by-label/nixos-root"; fsType = "btrfs"; - options = [ "subvol=home" "compress=zstd" ]; + options = [ "subvol=home" "compress-force=zstd" ]; }; "/srv/snapshots" = { device = "/dev/disk/by-label/nixos-root"; fsType = "btrfs"; - options = [ "subvol=snapshots" "compress=zstd" ]; + options = [ "subvol=snapshots" "compress-force=zstd" ]; }; "/boot" = { device = "/dev/disk/by-uuid/4064-2D6C"; |