Remove the deUtils namespace

This commit is contained in:
SebastianStork 2025-05-28 10:30:35 +02:00
parent f0df314f21
commit 2ff87c8404
15 changed files with 33 additions and 33 deletions

35
modules/home/hyprlock.nix Normal file
View file

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