forked from foxora/nix
36 lines
665 B
Nix
36 lines
665 B
Nix
{...}: {
|
|
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;
|
|
immediate_render = true;
|
|
};
|
|
|
|
background = [
|
|
{
|
|
monitor = "";
|
|
|
|
path = "screenshot";
|
|
blur_passes = 3;
|
|
blur_size = 4;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
# extra hyprlock config for organisation
|
|
# writes ./hypr to ~/.config/hypr/hyprlock
|
|
xdg.configFile."hypr/hyprlock" = {
|
|
recursive = true;
|
|
source = ./hypr;
|
|
};
|
|
}
|