summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/firelink.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/machines/firelink.nix b/machines/firelink.nix
index 4b3ac11..e4297e0 100644
--- a/machines/firelink.nix
+++ b/machines/firelink.nix
@@ -18,11 +18,11 @@ in {
# Don't run gc on startup.
nix.gc.persistent = false;
- services.logind.extraConfig = ''
- HandlePowerKey=suspend
- IdleAction=suspend
- IdleActionSec=30m
- '';
+ # services.logind.extraConfig = ''
+ # HandlePowerKey=suspend
+ # IdleAction=suspend
+ # IdleActionSec=30m
+ # '';
systemd.watchdog.runtimeTime = "30s";
services.fwupd.enable = true;
@@ -53,8 +53,6 @@ in {
};
networking.interfaces."enp37s0.admin".useDHCP = true;
- systemd.extraConfig = "DefaultLimitNOFILE=1048576";
-
security.pam.loginLimits = [{
domain = "*";
type = "hard";