1
0
Fork 0
forked from foxora/nix
flake-foxora/homes/modules/de/hyprlock/hyprlock.nix

37 lines
665 B
Nix
Raw Normal View History

2026-02-13 23:27:35 +10:00
{...}: {
2026-02-12 18:53:24 +00:00
programs.hyprlock = {
enable = true;
# load the theme colors
extraConfig = ''
source = ./colors.conf
source = ./hyprlock/theme.conf
'';
settings = {
general = {
disable_loading_bar = true;
hide_cursor = true;
2026-02-13 23:27:35 +10:00
immediate_render = true;
2026-02-12 18:53:24 +00:00
};
background = [
{
2026-02-13 23:27:35 +10:00
monitor = "";
2026-02-12 18:53:24 +00:00
2026-02-13 23:27:35 +10:00
path = "screenshot";
blur_passes = 3;
blur_size = 4;
}
2026-02-12 18:53:24 +00:00
];
};
};
# extra hyprlock config for organisation
# writes ./hypr to ~/.config/hypr/hyprlock
xdg.configFile."hypr/hyprlock" = {
recursive = true;
source = ./hypr;
};
}