This commit is contained in:
Kopatz
2026-01-17 18:11:45 +01:00
parent d8a6a56f6e
commit c2c536cd24
6 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
config,
pkgs,
inputs,
lib,
...
}:
with lib;
let
cfg = config.custom.graphical.wayvnc;
in
{
options.custom.graphical.wayvnc = {
enable = mkEnableOption "Enables wayvnc";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wayvnc
];
networking.firewall.allowedTCPPorts = [ 5900 ];
};
}