fix(greetd): create home of greeter user for hm
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
5c5d023869
commit
6c1b1ed440
1 changed files with 5 additions and 2 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue