From 9f66d1b8cc3f064f3377e0d495f48cd96aff214c Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Thu, 4 Mar 2021 14:55:17 +0100 Subject: [PATCH] docs: add note for declarative swapfile config --- home-pc.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home-pc.nix b/home-pc.nix index 4f4deb6..0d48b9a 100644 --- a/home-pc.nix +++ b/home-pc.nix @@ -14,6 +14,8 @@ ./services/pcscd.nix ]; + # declarative config broken atm: https://github.com/NixOS/nixpkgs/issues/91986 + # { device = "/swap/swapfile"; size = 8192; } swapDevices = [{ device = "/swap/swapfile"; }]; nixpkgs.config.allowUnfree = true;