Remove reference to swaylockfx.nix in swayidle config
This commit is contained in:
parent
c9b3731026
commit
3257cdae40
|
@ -1,19 +1,13 @@
|
||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ../swaylock/default.nix ];
|
imports = [ ../swaylock/default.nix ];
|
||||||
services.swayidle =
|
services.swayidle = {
|
||||||
let
|
enable = true;
|
||||||
swaylockfx = pkgs.callPackage ../swaylock/swaylockfx.nix {
|
timeouts = [
|
||||||
swaylock-effects = config.programs.swaylock.package;
|
{
|
||||||
};
|
timeout = 60 * 15; # 15 minutes
|
||||||
in
|
command = "swaylockfx";
|
||||||
{
|
}
|
||||||
enable = true;
|
];
|
||||||
timeouts = [
|
};
|
||||||
{
|
|
||||||
timeout = 60 * 15; # 15 minutes
|
|
||||||
command = "${swaylockfx}/bin/swaylockfx";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue