added wayvnc config

This commit is contained in:
2024-10-18 12:47:25 -05:00
parent 0153012f90
commit bd25b73ab1
7 changed files with 122 additions and 156 deletions

View File

@@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.wayvnc.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.wayvnc.enable {
home.packages = with pkgs; [
wayvnc
];
home.file.".config/wayvnc/config".txt = ''
use_relative_paths=true
address=0.0.0.0
enable_auth=true
username=nathan
password=//falconAdjacent42
rsa_private_key_file=rsa_key.pem
'';
};
}