feat(river): use correct targets

nixos
Moritz Böhme 2024-03-24 13:21:10 +01:00
parent 67a019f76b
commit e1a1c5060f
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 25 additions and 25 deletions

View File

@ -37,9 +37,9 @@ in
dunst.enable = true;
wallpaper = {
enable = true;
# target = "hyprland-session.target";
target = "river-session.target";
};
# spotify-player.target = "hyprland-session.target";
spotify-player.target = "river-session.target";
};
};
@ -88,7 +88,7 @@ in
# start using systemd service
systemd = {
enable = true;
# target = "hyprland-session.target";
target = "river-session.target";
};
settings = {
@ -137,7 +137,7 @@ in
command = "${pkgs.systemd}/bin/loginctl lock-session";
}
];
# systemdTarget = "hyprland-session.target";
systemdTarget = "river-session.target";
};
};
@ -199,26 +199,26 @@ in
};
security.rtkit.enable = true;
# home-manager.users.moritz.systemd.user.services =
# let
# units = [ "waybar" ];
# mkAfter = _: {
# Unit = {
# After = [ "hyprland-session.target" ];
# Wants = [ "hyprland-session.target" ];
# };
# };
# in
# genAttrs units mkAfter;
#
# systemd.user.services =
# let
# units = [ "pipewire" "xdg-desktop-portal" "xdg-desktop-portal-hyprland" "wireplumber" ];
# mkAfter = _: {
# after = [ "hyprland-session.target" ];
# wants = [ "hyprland-session.target" ];
# };
# in
# genAttrs units mkAfter;
home-manager.users.moritz.systemd.user.services =
let
units = [ "waybar" ];
mkAfter = _: {
Unit = {
After = [ "river-session.target" ];
Wants = [ "river-session.target" ];
};
};
in
genAttrs units mkAfter;
systemd.user.services =
let
units = [ "pipewire" "xdg-desktop-portal" "wireplumber" ];
mkAfter = _: {
after = [ "river-session.target" ];
wants = [ "river-session.target" ];
};
in
genAttrs units mkAfter;
};
}