sway: fix readiness check

This commit is contained in:
Colin 2024-03-23 15:54:20 +00:00
parent 5205251f6f
commit 39de5b84c2
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ in
mkdir -p /tmp/.X11-unix # for Xwayland
exec sway
'';
readiness.waitExists = "$SWAY_SOCK";
readiness.waitExists = "$SWAYSOCK";
};
# link the graphical-session into the default target, so sway gets auto-started
services.graphical-session.partOf = [ "default" ];

View File

@ -81,7 +81,7 @@ let
''${pkgs.systemdMinimal}/bin/busctl --user status "${config.readiness.waitDbus}" > /dev/null''
)
(lib.mkIf (config.readiness.waitExists != null)
''test -e ${config.readiness.waitExists}''
''test -e "${config.readiness.waitExists}"''
)
];
};