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