2024-09-14 09:30:13 +01:00
|
|
|
{ ... }:
|
2024-09-11 15:19:43 +01:00
|
|
|
{
|
|
|
|
imports = [ ../swaylock/default.nix ];
|
2024-09-14 09:30:13 +01:00
|
|
|
services.swayidle = {
|
|
|
|
enable = true;
|
|
|
|
timeouts = [
|
|
|
|
{
|
|
|
|
timeout = 60 * 15; # 15 minutes
|
|
|
|
command = "swaylockfx";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2024-09-11 15:19:43 +01:00
|
|
|
}
|