Files
omarchy-nix/modules/home-manager/hyprlock.nix
T
2025-06-28 12:27:26 -05:00

29 lines
560 B
Nix

{inputs, ...}: {
config,
pkgs,
...
}: let
cfg = config.omarchy;
themes = import ../themes.nix;
theme = themes.${cfg.theme};
rgba = inputs.nix-colors.lib.hexToRgba "#3c3836";
in {
programs.hyprlock = {
enable = true;
settings = {
source = "colors.conf";
general = {
disable_loading_bar = true;
no_fade_in = false;
};
auth = {
fingerprint.enabled = true;
};
background = {
monitor = "";
color = rgba; # You can now use the rgba value here
};
};
};
}