docs: add note for declarative swapfile config

This commit is contained in:
Felix Schröter 2021-03-04 14:55:17 +01:00
parent dde68e0957
commit 9f66d1b8cc
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -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;