fix(home-pc): re-add declarative swapfile config
This commit is contained in:
parent
e91a7e9621
commit
98761658cc
|
@ -15,8 +15,10 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# declarative config broken atm: https://github.com/NixOS/nixpkgs/issues/91986
|
# declarative config broken atm: https://github.com/NixOS/nixpkgs/issues/91986
|
||||||
# { device = "/swap/swapfile"; size = 8192; }
|
swapDevices = [{
|
||||||
swapDevices = [{ device = "/swap/swapfile"; }];
|
device = "/swap/swapfile";
|
||||||
|
size = 8192;
|
||||||
|
}];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue