diff --git a/home-pc.nix b/home-pc.nix index 6c69c4c..76e376e 100644 --- a/home-pc.nix +++ b/home-pc.nix @@ -15,8 +15,10 @@ ]; # declarative config broken atm: https://github.com/NixOS/nixpkgs/issues/91986 - # { device = "/swap/swapfile"; size = 8192; } - swapDevices = [{ device = "/swap/swapfile"; }]; + swapDevices = [{ + device = "/swap/swapfile"; + size = 8192; + }]; nixpkgs.config.allowUnfree = true;