diff --git a/configuration.nix b/configuration.nix index 4ec36d9..bb077da 100755 --- a/configuration.nix +++ b/configuration.nix @@ -12,7 +12,7 @@ let display_startup_errors = On max_execution_time = 10000 max_input_time = 3000 - memory_limit = 512MB; + memory_limit = 1G; opcache.enable=1; opcache.memory_consumption=512; opcache_revalidate_freq = 240; @@ -345,8 +345,16 @@ in ####### KEEP AWAKE for DISPLAY and HEADLESS ####### services.xserver.displayManager.gdm.autoSuspend = false; + services.power-profiles-daemon.enable = false; + systemd.sleep.extraConfig = '' + AllowSuspend=no + AllowHibernation=no + AllowHybridSleep=no + AllowSuspendThenHibernate=no + ''; + ####### BACKUP TO INTERNAL DRIVE ####### services.rsnapshot = {