feat(homes/rafiq): add hyprlock config and pam service fix

This commit is contained in:
Mohammad Rafiq 2025-07-09 01:39:00 +08:00
parent 09b10869e6
commit 4507f4b113
No known key found for this signature in database

View file

@ -7,6 +7,7 @@
"steam-unwrapped" "steam-unwrapped"
]; ];
flake.modules.nixos.graphical = { flake.modules.nixos.graphical = {
security.pam.services.hyprlock = { };
programs.steam = { programs.steam = {
enable = true; enable = true;
gamescopeSession.enable = true; gamescopeSession.enable = true;
@ -92,31 +93,34 @@
enable = true; enable = true;
inherit profiles; inherit profiles;
}; };
hyprlock.settings = { hyprlock = {
general.hide_cursor = true; enable = true;
general.ignore_empty_input = true; settings = {
background.blur_passes = 5; general.hide_cursor = true;
background.blur_size = 5; general.ignore_empty_input = true;
label = { background.blur_passes = 5;
text = ''hi, $USER.''; background.blur_size = 5;
font_size = 32; label = {
position = "0, 0"; text = ''hi, $USER.'';
halign = "center"; font_size = 32;
valign = "center"; position = "0, 0";
zindex = 1; halign = "center";
shadow_passes = 5; valign = "center";
shadow_size = 5; zindex = 1;
}; shadow_passes = 5;
input-field = { shadow_size = 5;
placeholder_text = ""; };
fade_on_empty = true; input-field = {
size = "200, 45"; placeholder_text = "";
position = "0, -5%"; fade_on_empty = true;
halign = "center"; size = "200, 45";
valign = "center"; position = "0, -5%";
zindex = 1; halign = "center";
shadow_passes = 5; valign = "center";
shadow_size = 5; zindex = 1;
shadow_passes = 5;
shadow_size = 5;
};
}; };
}; };
ghostty = { ghostty = {