sway: fix readiness check
This commit is contained in:
parent
5205251f6f
commit
39de5b84c2
|
@ -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" ];
|
||||
|
|
|
@ -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}"''
|
||||
)
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue