System stuff lol

This commit is contained in:
Lucas Thelen 2025-09-30 03:07:28 +00:00
parent b7eee0a829
commit 6c32589d07
3 changed files with 14 additions and 1 deletions

View file

@ -2,5 +2,16 @@
# System boots
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix.settings.experimental.features = [ "nix-commmand" "flakes" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Don't turn off when lid is closed
services.logind.lidSwitchExternalPower = "ignore";
# Don't hybernate. You're a server!
systemd.sleep.extraConfig = ''
AllowSuspend=no
AllowHibernation=no
AllowHybridSleep=no
AllowSuspendThenHibernate=no
'';
}