Files
nix-config/modules/graphical/wayvnc.nix
2026-01-17 18:11:45 +01:00

24 lines
349 B
Nix

{
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 ];
};
}