diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-16 15:26:31 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-16 15:26:31 +0530 |
| commit | 3f18030ac8158d3eb50dd454c9d674a8c30ea659 (patch) | |
| tree | 5bcd3731d0172d3834172d600354c39da0791cf2 /nixos | |
| parent | 7bd8e9f120fec1f86da3b80f595cca2fdb46967e (diff) | |
freezing on suspend fix + librewolf
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"; + }; } |
