home/niri: Ensure that essential services are up
This commit is contained in:
parent
09b3d09c85
commit
8d003d17c2
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,7 @@ let
|
|||
loginctl = osConfig.systemd.package + /bin/loginctl;
|
||||
playerctl = config.services.playerctld.package + /bin/playerctl;
|
||||
swaylock = lib.getExe config.programs.swaylock.package;
|
||||
systemctl = osConfig.systemd.package + /bin/systemctl;
|
||||
wpctl = osConfig.services.pipewire.wireplumber.package + /bin/wpctl;
|
||||
xdg-open = pkgs.xdg-utils + /bin/xdg-open;
|
||||
|
||||
|
@ -258,6 +259,11 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
SSH_ASKPASS_REQUIRE = "force";
|
||||
TERMINAL = kitty;
|
||||
};
|
||||
|
||||
spawn-at-startup = [
|
||||
{ command = [ systemctl "--user" "start" "swayidle.service" ]; }
|
||||
{ command = [ systemctl "--user" "start" "waybar.service" ]; }
|
||||
];
|
||||
};
|
||||
|
||||
programs.swaylock = {
|
||||
|
|
Loading…
Reference in a new issue