fix(homeModules:hyprlock): disable for now

This commit is contained in:
ooks-io 2024-05-06 17:06:01 +12:00
parent fbe1d25854
commit b8bee97333
2 changed files with 14 additions and 14 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
let
fonts = config.homeModules.theme.fonts;

View file

@ -9,7 +9,7 @@ in
{
imports = [
inputs.hyprlock.homeManagerModules.default
inputs.hypridle.homeManagerModules.default
# inputs.hypridle.homeManagerModules.default
];
config = lib.mkIf cfg.enable {
@ -71,18 +71,18 @@ in
}
];
};
services.hypridle = {
enable = true;
package = pkgs.hypridle;
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
lockCmd = lib.getExe config.programs.hyprlock.package;
# services.hypridle = {
# enable = true;
# package = pkgs.hypridle;
# beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
# lockCmd = lib.getExe config.programs.hyprlock.package;
listeners = [
{
timeout = 500;
onTimeout = lib.getExe config.programs.hyprlock.package;
}
];
};
# listeners = [
# {
# timeout = 500;
# onTimeout = lib.getExe config.programs.hyprlock.package;
# }
# ];
# };
};
}