forked from pub-solar/os
This change allows you to start wayvnc anytime your sway session starts. For hosts where you want to enable this, you'll need to generate the certificate and keys, see: https://github.com/any1/wayvnc#encryption--authentication You can then add these to your secrets via agenix, and load them as `vnc-key.pem` and `vnc-cert.pem` into `/run/secrets`. Enable the wayvnc server via the option `pub-solar.sway.vnc.enable`. At the time of writing, `tigervnc` appears to be a good vnc client to use. ```
8 lines
199 B
Nix
8 lines
199 B
Nix
{ psCfg, pkgs }: "
|
|
address=0.0.0.0
|
|
enable_auth=true
|
|
username=${psCfg.user.name}
|
|
password=${psCfg.user.password}
|
|
private_key_file=/run/secrets/vnc-key.pem
|
|
certificate_file=/run/secrets/vnc-cert.pem
|
|
"
|