home-manager/programs/waybar: setup service to standard locations

This commit is contained in:
Anthony Rodriguez 2024-12-27 11:47:48 +01:00
parent b84157c771
commit 9293020602
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
lib,
config,
inputs,
pkgs,
...
}: {
services.hyprpaper = {
enable = true;
package = inputs.hyprpaper.packages.${pkgs.system}.default;
settings = {
preload = ["${config.local.style.wallpaper}"];
wallpaper = [", ${config.local.style.wallpaper}"];
};
};
systemd.user.services.hyprpaper.Unit.After = lib.mkForce "graphical-session.target";
systemd.user.services.hyprpaper.Unit.Slice = "background-graphical.slice";
}

View file

@ -175,6 +175,12 @@
};
};
};
systemd.user.services.waybar = {
Unit.After = lib.mkForce "graphical-session.target";
Service.Slice = "app-graphical.slice";
};
home.packages = [
pkgs.pavucontrol
];