autologin module, fix awww
This commit is contained in:
parent
5b898f56ae
commit
3f8b6984b7
5 changed files with 51 additions and 4 deletions
|
|
@ -18,9 +18,6 @@ in {
|
|||
hm.services.playerctld.enable = true;
|
||||
hm.programs.waybar = {
|
||||
enable = true;
|
||||
# essentially just the service
|
||||
# peculiar how this is a program
|
||||
systemd.enable = true;
|
||||
package = cfg.package;
|
||||
|
||||
settings = let
|
||||
|
|
@ -344,5 +341,24 @@ in {
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
hm.systemd.user.services.waybar = {
|
||||
Unit = {
|
||||
Description = "Waybar, a highly customizable wayland bar for wlroots compositors";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${lib.getExe cfg.package}";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue