fix(home-pc): re-add declarative swapfile config

This commit is contained in:
Felix Schröter 2021-12-12 17:09:32 +01:00
parent e91a7e9621
commit 98761658cc
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -15,8 +15,10 @@
];
# declarative config broken atm: https://github.com/NixOS/nixpkgs/issues/91986
# { device = "/swap/swapfile"; size = 8192; }
swapDevices = [{ device = "/swap/swapfile"; }];
swapDevices = [{
device = "/swap/swapfile";
size = 8192;
}];
nixpkgs.config.allowUnfree = true;