mirror of
https://github.com/larstvei/nix-config.git
synced 2025-10-13 14:30:12 +00:00
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:
parent
fe9d7f0575
commit
970196d5fb
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
|
exec-once = [ "hyprlock || hyprctl dispatch exit" ];
|
||||||
|
|
||||||
misc.disable_hyprland_logo = true;
|
misc.disable_hyprland_logo = true;
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
|
@ -32,9 +32,12 @@
|
|||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.default_session = {
|
settings = rec {
|
||||||
command = "hyprland";
|
initial_session = {
|
||||||
user = "larstvei";
|
command = "hyprland > /dev/null 2>&1";
|
||||||
|
user = "larstvei";
|
||||||
|
};
|
||||||
|
default_session = initial_session;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user