fix: bad filesystem mounts

This commit is contained in:
Jacob Bachmann 2024-01-17 18:54:50 +01:00
parent 2effb840d8
commit 2ec32e3ec6
Signed by: bchmnn
GPG key ID: 732A612DAD28067D

View file

@ -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;
}