swayidle is service not program
This commit is contained in:
parent
6cc4642526
commit
a23a94571e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
settings = import ./swaylock.conf.nix { lib = lib; config = config; };
|
||||
};
|
||||
|
||||
programs.swayidle = {
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
events = [
|
||||
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue