swayidle: removed extra swaylock

This commit is contained in:
Aly Raffauf 2024-08-02 19:27:56 -04:00
parent 870a8d6fba
commit eb582c49a0

View file

@ -34,10 +34,6 @@ in {
command = "${lib.getExe pkgs.brightnessctl} -s set 10"; command = "${lib.getExe pkgs.brightnessctl} -s set 10";
resumeCommand = "${lib.getExe pkgs.brightnessctl} -r"; resumeCommand = "${lib.getExe pkgs.brightnessctl} -r";
} }
{
timeout = 600;
command = "${pkgs.swaylock}/bin/swaylock";
}
] ]
++ lib.optional cfg.desktop.autoSuspend { ++ lib.optional cfg.desktop.autoSuspend {
timeout = 600; timeout = 600;