docs: add note for declarative swapfile config
This commit is contained in:
parent
dde68e0957
commit
9f66d1b8cc
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue