suspend to freeze

This commit is contained in:
2023-06-21 09:47:25 +08:00
parent 5728c32ede
commit 75eaccbfbf

View File

@@ -24,6 +24,7 @@
{
extraConfig = "DefaultTimeoutStopSec=10s";
user.extraConfig = "DefaultTimeoutStopSec=10s";
sleep.extraConfig = "SuspendState=freeze";
services.nix-daemon.serviceConfig = { Slice = "-.slice"; Nice = "19"; };
};
programs.nix-ld.enable = true;