feat(home-pc): remove swapfile

This commit is contained in:
Felix Schröter 2023-04-11 17:07:00 +02:00
parent 730683518c
commit e1bf285b89
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -25,13 +25,6 @@
options = [ "subvol=@home" "compress-force=zstd:1" "noatime" ];
};
fileSystems."/.swap" = {
device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199";
fsType = "btrfs";
options = [ "subvol=@swap" "nodatacow" "noatime" ];
neededForBoot = true;
};
fileSystems."/.snapshots" = {
device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199";
fsType = "btrfs";
@ -43,11 +36,6 @@
fsType = "vfat";
};
swapDevices = [{
device = "/.swap/swapfile";
size = 8192;
}];
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}