Move home-manager configurations files

This commit is contained in:
Yorick Barbanneau 2023-09-10 15:53:24 +02:00
parent 9715b9569a
commit 1650bdc29b
37 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,27 @@
{ pkgs, ... }:
{
services.swayidle = {
enable = true;
timeouts = [
{
timeout = 300;
command = "${pkgs.swaylock}/bin/swaylock -f";
}
{
timeout = 600;
command = "swaymsg 'output * dpms off'";
resumeCommand = "swaymsg 'output * dpms on'";
}
];
events = [
{
event = "before-sleep";
command = "${pkgs.swaylock}/bin/swaylock -f";
}
{
event = "lock";
command = "${pkgs.swaylock}/bin/swaylock -f";
}
];
};
}