works like this

This commit is contained in:
twoneis 2024-07-23 23:19:39 +02:00
parent bff68c0cb2
commit cd1c6eb934
2 changed files with 2 additions and 11 deletions

View file

@ -20,6 +20,7 @@
home.packages = with pkgs; [
brightnessctl
swaybg
swayidle
];
programs.niri = {
@ -43,16 +44,6 @@
settings = import ./swaylock.conf.nix { lib = lib; config = config; };
};
services.swayidle = {
enable = true;
events = [
{ event = "before-sleep"; command = "swaylock"; }
];
timeouts = [
{ timeout = 5; command = "swaylock"; }
];
};
services.mako = {
enable = true;
defaultTimeout = 5000;