added wayvnc config
This commit is contained in:
22
home/programs/wayvnc/default.nix
Normal file
22
home/programs/wayvnc/default.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user