mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 09:14:24 +01:00
Move DE utility modules to deUtils namespace
This commit is contained in:
parent
7e0677ce7d
commit
84be6ec469
19 changed files with 29 additions and 29 deletions
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}@moduleArgs:
|
||||
let
|
||||
cfg = config.myConfig.de.hyprlock;
|
||||
in
|
||||
{
|
||||
options.myConfig.de.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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue