host/asus: allow x11 for local

This commit is contained in:
Dmitriy Pleshevskiy 2024-09-06 10:41:58 +03:00
parent 45bde33b55
commit ed61cd41a7
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -46,6 +46,6 @@
};
environment.shellInit = ''
[ -n "$DISPLAY" ] && ${pkgs.xorg.xhost}/bin/xhost +si:localuser:$USER > /dev/null || true
[ -n "$DISPLAY" ] && ${pkgs.xorg.xhost}/bin/xhost +local: > /dev/null || true
'';
}