Allow systemd hibernation

This commit is contained in:
2026-07-09 10:52:27 +01:00
parent c9eca9eb1e
commit 8df3c6bf45
+5
View File
@@ -6,6 +6,11 @@
../modules/secrets
];
boot.resumeDevice =
if config.swapDevices != []
then (builtins.head config.swapDevices).device
else null;
nixpkgs.config.allowUnfree = true;
boot.loader.systemd-boot.enable = true;