fix(home-pc): re-add declarative swapfile config
This commit is contained in:
parent
e91a7e9621
commit
98761658cc
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue