Add screen-locker

This commit is contained in:
Paul-Henri Froidmont 2020-02-23 21:40:47 +01:00
parent 527a982bb2
commit 5fff35c645
2 changed files with 8 additions and 2 deletions

View file

@ -21,6 +21,7 @@
xorg.xwininfo
xorg.xkill
scrot
i3lock
];
home.keyboard = {
layout = "fr";
@ -156,4 +157,9 @@
};
};
};
}
services.screen-locker = {
enable = true;
inactiveInterval = 5;
lockCmd = "\${pkgs.i3lock}/bin/i3lock -e -f -c 000000 -i ~/.wallpaper.png";
};
}