1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

add hyprlock

This commit is contained in:
andrey_varnavskiy
2024-12-01 05:29:11 +05:00
parent a9058f3a24
commit 3fb18500f6
3 changed files with 39 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{
imports = [
./binds.nix
./hyprlock.nix
./main.nix
];
}

View File

@@ -0,0 +1,36 @@
{
programs.hyprlock = {
enable = true;
settings = {
general = {
disable_loading_bar = true;
grace = 300;
hide_cursor = true;
no_fade_in = false;
};
background = [
{
path = "screenshot";
blur_passes = 3;
blur_size = 8;
}
];
input-field = [
{
size = "200, 50";
position = "0, -80";
monitor = "";
dots_center = true;
font_color = "rgb(235, 219, 178)";
inner_color = "rgb(40, 40, 40)";
outer_color = "rgb(60, 56, 54)";
outline_thickness = 5;
placeholder_text = "sussy baka";
shadow_passes = 1;
}
];
};
};
}

View File

@@ -2,4 +2,6 @@
programs.hyprland = {
enable = true;
};
security.pam.services.hyprlock = {};
}