home-manager/programs/waybar: setup service to standard locations
This commit is contained in:
parent
b84157c771
commit
9293020602
2 changed files with 26 additions and 0 deletions
20
config/home-manager/programs/hypr/paper.nix
Normal file
20
config/home-manager/programs/hypr/paper.nix
Normal 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";
|
||||
}
|
|
@ -175,6 +175,12 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.waybar = {
|
||||
Unit.After = lib.mkForce "graphical-session.target";
|
||||
Service.Slice = "app-graphical.slice";
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.pavucontrol
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue