diff options
Diffstat (limited to 'machines/kusanagi/desktop.nix')
| -rw-r--r-- | machines/kusanagi/desktop.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/machines/kusanagi/desktop.nix b/machines/kusanagi/desktop.nix index 15bec13..e4b2bc3 100644 --- a/machines/kusanagi/desktop.nix +++ b/machines/kusanagi/desktop.nix @@ -121,4 +121,32 @@ nautilus # file manager loupe # image viewer ]; + + # --- Bar + wallpaper (was spawn-at-startup in the shared niri config.kdl) --- + # The bar and wallpaper differ per host, so they live in nixos-config rather + # than the stowed niri config. Long-running user services bound to + # graphical-session.target (the target niri-session activates). + # NOTE: there's no waybar package in the dotfiles repo yet, so this starts + # default waybar; styling/modules are a separate follow-up. + systemd.user.services.waybar = { + description = "waybar status bar"; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${pkgs.waybar}/bin/waybar"; + Restart = "on-failure"; + }; + }; + + systemd.user.services.swaybg = { + description = "swaybg wallpaper"; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${pkgs.swaybg}/bin/swaybg --image '/home/henz/resources/photography/nasa/55196710272_1289069236_o.jpg' --mode fill"; + Restart = "on-failure"; + }; + }; } |
