mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 00:49:42 +08:00
suspend to freeze
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user