From 1a4a554a7795c852b7da968dccf4a8e0585543a6 Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 8 Jan 2023 19:20:43 +0100 Subject: switch away from temp-root --- hardware/basesystem.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'hardware') 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"; -- cgit 1.4.1