diff options
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/apps.nix | 1 | ||||
| -rw-r--r-- | nixos/opt/nvidia.nix | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/nixos/apps.nix b/nixos/apps.nix index 1f333cf..29d3bbc 100644 --- a/nixos/apps.nix +++ b/nixos/apps.nix @@ -6,6 +6,7 @@ ]; environment.systemPackages = with pkgs; [ google-chrome + librewolf blanket gimp localsend diff --git a/nixos/opt/nvidia.nix b/nixos/opt/nvidia.nix index 4373165..2c414f0 100644 --- a/nixos/opt/nvidia.nix +++ b/nixos/opt/nvidia.nix @@ -19,4 +19,15 @@ boot.kernelParams = [ "acpi_backlight=video" ]; boot.initrd.kernelModules = [ "nvidia" "hp_wmi" ]; services.xserver.videoDrivers = [ "nvidia" ]; + systemd.services.systemd-suspend.environment = { + SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false"; + }; + + systemd.services.systemd-hibernate.environment = { + SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false"; + }; + + systemd.services.systemd-hybrid-sleep.environment = { + SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false"; + }; } |
