From e1bf285b89fd3867e13295a04f7f3a23e7770f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Tue, 11 Apr 2023 17:07:00 +0200 Subject: [PATCH] feat(home-pc): remove swapfile --- hardware/home-pc.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hardware/home-pc.nix b/hardware/home-pc.nix index 786475f..648f52d 100644 --- a/hardware/home-pc.nix +++ b/hardware/home-pc.nix @@ -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; }