mirror of
https://github.com/henrysipp/omarchy-nix.git
synced 2026-06-07 11:09:26 -05:00
29 lines
545 B
Nix
29 lines
545 B
Nix
{
|
|
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
|
|
};
|
|
};
|
|
};
|
|
}
|