Move sway-session target into a Unit
diff --git a/src/apps/personal/sway.nix b/src/apps/personal/sway.nix
index 14e4744..e838ad8 100644
--- a/src/apps/personal/sway.nix
+++ b/src/apps/personal/sway.nix
@@ -10,11 +10,11 @@
wl-clipboard
];
- systemd.user.targets.sway-session = {
+ systemd.user.targets.sway-session.Units = {
description = "Sway compositor session";
documentation = [ "man:systemd.special(7)" ];
bindsTo = [ "graphical-session.target" ];
wants = [ "graphical-session-pre.target" ];
- after = "graphical-session-pre.target";
+ after = [ "graphical-session-pre.target" ];
};
}
\ No newline at end of file