diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/dex.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/dex.nix b/machines/dex.nix index dd9df97..b06d450 100644 --- a/machines/dex.nix +++ b/machines/dex.nix @@ -15,6 +15,10 @@ with lib; networking.firewall.allowedTCPPorts = [3979]; networking.firewall.allowedUDPPorts = [3979]; + services.logind.extraConfig = '' + HandlePowerKey=suspend + ''; + nix.gc.persistent = false; networking.networkmanager.enable = true; networking.hostName = "dex"; |