Fix sddm barrier service for current nixpkgs version
This commit is contained in:
parent
4606cc32ba
commit
6739115cfb
@ -55,8 +55,8 @@
|
|||||||
path = with pkgs; [ barrier doas ];
|
path = with pkgs; [ barrier doas ];
|
||||||
script = ''
|
script = ''
|
||||||
# Wait for file to show up. "display-manager.service" finishes a bit too soon
|
# Wait for file to show up. "display-manager.service" finishes a bit too soon
|
||||||
while ! [ -e /run/sddm/xauth_* ]; do sleep 1; done;
|
while ! [ -e /run/sddm/* ]; do sleep 1; done;
|
||||||
export XAUTHORITY=$(ls /run/sddm/xauth_*)
|
export XAUTHORITY=$(ls /run/sddm/*)
|
||||||
# Disable crypto is fine because tailscale is E2E encrypting better than barrier could anyway
|
# Disable crypto is fine because tailscale is E2E encrypting better than barrier could anyway
|
||||||
barrierc -f --disable-crypto --name zoidberg ray.koi-bebop.ts.net
|
barrierc -f --disable-crypto --name zoidberg ray.koi-bebop.ts.net
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user