autologin module, fix awww

This commit is contained in:
Reid 2026-04-28 22:40:27 -07:00
parent 5b898f56ae
commit 3f8b6984b7
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
5 changed files with 51 additions and 4 deletions

View file

@ -118,11 +118,15 @@ in {
PartOf = [ "awww.service" ] ++ optional cfg.backdrop "awww-backdrop.service";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
Service = {
Type = "oneshot";
ExecStart = "${cfg.setScript}";
Restart = "on-failure";
RestartSec = 2;
RestartSec = 5;
};
};
})