forked from extern/nix-config
meta: Autologin with greetd and tuigreet
This commit is contained in:
parent
162b3d0d13
commit
187028c552
@ -29,5 +29,21 @@
|
|||||||
lnch
|
lnch
|
||||||
wev
|
wev
|
||||||
swww
|
swww
|
||||||
|
greetd.tuigreet
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
restart = false;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
initial_session = {
|
||||||
|
command = "${pkgs.hyprland}/bin/Hyprland";
|
||||||
|
user = "user";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user