the great update

This commit is contained in:
2025-03-07 17:04:41 +09:00
parent 442f46f622
commit 6216fcd751
77 changed files with 732 additions and 305 deletions

View File

@@ -0,0 +1,10 @@
{ pkgs, lib, ... }:
pkgs.writeShellScriptBin "use-vnc" ''
if [[ $XDG_SESSION_TYPE == "x11" ]]; then
x11vnc -display :0 &
else
wayvnc 0.0.0.0 &
fi
sudo echo $! > /var/run/use-vnc.pid
''