feat(home-pc): remove swapfile
This commit is contained in:
parent
730683518c
commit
e1bf285b89
|
@ -25,13 +25,6 @@
|
||||||
options = [ "subvol=@home" "compress-force=zstd:1" "noatime" ];
|
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" = {
|
fileSystems."/.snapshots" = {
|
||||||
device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199";
|
device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
@ -43,11 +36,6 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [{
|
|
||||||
device = "/.swap/swapfile";
|
|
||||||
size = 8192;
|
|
||||||
}];
|
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode =
|
hardware.cpu.amd.updateMicrocode =
|
||||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue