Allow systemd hibernation
This commit is contained in:
@@ -6,6 +6,11 @@
|
|||||||
../modules/secrets
|
../modules/secrets
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.resumeDevice =
|
||||||
|
if config.swapDevices != []
|
||||||
|
then (builtins.head config.swapDevices).device
|
||||||
|
else null;
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user