fix sway systemd integration
diff --git a/src/apps/personal/sway.nix b/src/apps/personal/sway.nix
index e5b91e2..5d93b49 100644
--- a/src/apps/personal/sway.nix
+++ b/src/apps/personal/sway.nix
@@ -9,6 +9,8 @@
colors = {};
};
+
+ systemdIntegration = true;
};
home.packages = with pkgs; [
@@ -17,14 +19,6 @@
wl-clipboard
];
- systemd.user.targets.sway-session.Unit = {
- Description = "sway compositor session";
- Documentation = [ "man:systemd.special(7)" ];
- BindsTo = [ "graphical-session.target" ];
- Wants = [ "graphical-session-pre.target" ];
- After = [ "graphical-session-pre.target" ];
- };
-
programs.zsh.profileExtra = ''
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec systemd-cat -t sway sway