Fix naming

This commit is contained in:
SebastianStork 2025-03-18 23:36:49 +01:00
parent 765db19140
commit 0175a0af51
17 changed files with 11 additions and 11 deletions

View file

@ -0,0 +1,37 @@
{
config,
pkgs-unstable,
lib,
...
}@moduleArgs:
let
cfg = config.myConfig.deUtils.hyprlock;
in
{
options.myConfig.deUtils.hyprlock = {
enable = lib.mkEnableOption "";
fprintAuth = lib.mkEnableOption "" // {
default = moduleArgs.osConfig.services.fprintd.enable or false;
};
};
config = lib.mkIf cfg.enable {
programs.hyprlock = {
enable = true;
package = pkgs-unstable.hyprlock;
settings = {
general.immediate_render = true;
auth."fingerprint:enabled" = cfg.fprintAuth;
animations.enabled = false;
input-field.monitor = "";
background = {
monitor = "";
path = "~/Pictures/.wallpaper";
blur_size = 4;
blur_passes = 1;
};
};
};
};
}