Disabled sleep, if not a laptop on niri

This commit is contained in:
Aleksandr Lebedev 2025-06-26 13:47:18 +02:00
parent bf933e2af2
commit ce389e6629

View file

@ -265,7 +265,7 @@ in{
]; ];
timeouts = let timeouts = let
secondary = "${systemctl} suspend"; secondary = "${systemctl} suspend";
in[ in lib.mkIf (hwconfig.isLaptop) [
#{ #{
# timeout = 30; # timeout = 30;
# command = "pidof hyprlock && ${secondary}"; # command = "pidof hyprlock && ${secondary}";