remake dir structure for home-manager

This commit is contained in:
insects 2024-08-21 15:55:14 +02:00
parent 9415d40508
commit 3151b79560
26 changed files with 9 additions and 9 deletions

View file

@ -0,0 +1,22 @@
{ config, ... }:
let
swaylock = "${config.programs.swaylock.package}/bin/swaylock";
in
{
services.swayidle = {
enable = true;
systemdTarget = "graphical-session.target";
events = [
{
event = "before-sleep";
command = "${swaylock} --daemonize";
}
];
# timeouts = [
# {
# timeout = 4 * 60;
# command = "${swaylock} --daemonize --grace 15";
# }
# ];
};
}