Log in to hyprlock

Got the setup from here:
https://www.reddit.com/r/hyprland/comments/1l7rlq0/how_to_setup_hyprlock_on_nixos/

Also, it's not really secure. I guess i beats booting into my user with no
password.
This commit is contained in:
larstvei 2025-09-28 23:40:40 +02:00
parent fe9d7f0575
commit 970196d5fb
2 changed files with 8 additions and 3 deletions

View File

@ -8,6 +8,8 @@
settings = {
exec-once = [ "hyprlock || hyprctl dispatch exit" ];
misc.disable_hyprland_logo = true;
general = {

View File

@ -32,10 +32,13 @@
services.greetd = {
enable = true;
settings.default_session = {
command = "hyprland";
settings = rec {
initial_session = {
command = "hyprland > /dev/null 2>&1";
user = "larstvei";
};
default_session = initial_session;
};
};
fonts = {