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

@@ -42,6 +42,7 @@ in
logseq # notes
ani-cli
brave
wayvnc
];
};
}

View File

@@ -34,5 +34,6 @@
./sway.nix
./gpu-screen-recorder-ui.nix
./niri.nix
./wayvnc.nix
];
}

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