feat(river): use correct targets
parent
67a019f76b
commit
e1a1c5060f
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue