fix(greetd): create home of greeter user for hm
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-05 16:21:19 -05:00
parent 5c5d023869
commit 6c1b1ed440

View file

@ -68,12 +68,15 @@
"${readFile ./hyprland.conf}\n" "${readFile ./hyprland.conf}\n"
"exec-once = ${agsBin}/ags --config ${./greetd.js};" "exec-once = ${agsBin}/ags -b greeter --config ${./greetd.js};"
" ${hyprBin}/hyprctl dispatch exit" " ${hyprBin}/hyprctl dispatch exit"
])); ]));
in { in {
# Add home folder for home-manager to work # Add home folder for home-manager to work
users.users.greeter.home = "/var/lib/greeter"; users.users.greeter = {
home = "/var/lib/greeter";
createHome = true;
};
home-manager.users.greeter = { home-manager.users.greeter = {
imports = [ imports = [