From 2ec32e3ec6771b384f8dcd3deecc2dec349957ca Mon Sep 17 00:00:00 2001 From: Jacob Bachmann Date: Wed, 17 Jan 2024 18:54:50 +0100 Subject: [PATCH] fix: bad filesystem mounts --- hosts/T430/hardware.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hosts/T430/hardware.nix b/hosts/T430/hardware.nix index 56c74d9..b7847c4 100644 --- a/hosts/T430/hardware.nix +++ b/hosts/T430/hardware.nix @@ -10,7 +10,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.kernelParams = [ "resume_offset=533760" ]; + boot.kernelParams = [ "resume_offset=18883840" ]; boot.resumeDevice = "/dev/disk/by-label/ROOT"; boot.initrd.luks.devices."cryptlvm".device = "/dev/disk/by-uuid/b7a904b2-cceb-47fc-832a-701e386a95db"; @@ -18,28 +18,28 @@ { device = "/dev/disk/by-label/ROOT"; fsType = "btrfs"; - options = [ "subvol=@" ]; + options = [ "subvol=@" "compress=zstd" "noatime" ]; }; fileSystems."/home" = { device = "/dev/disk/by-label/ROOT"; fsType = "btrfs"; - options = [ "subvol=@home" ]; + options = [ "subvol=@home" "compress=zstd" "noatime" ]; }; fileSystems."/nix" = { device = "/dev/disk/by-label/ROOT"; fsType = "btrfs"; - options = [ "subvol=@home" ]; + options = [ "subvol=@nix" "compress=zstd" "noatime" ]; }; fileSystems."/swap" = { device = "/dev/disk/by-label/ROOT"; fsType = "btrfs"; - options = [ "subvol=@home" ]; + options = [ "subvol=@swap" "noatime" ]; }; fileSystems."/boot" = @@ -57,3 +57,4 @@ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } +