System stuff lol
This commit is contained in:
parent
b7eee0a829
commit
6c32589d07
3 changed files with 14 additions and 1 deletions
13
system.nix
13
system.nix
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue