wayvnc
This commit is contained in:
23
modules/graphical/wayvnc.nix
Normal file
23
modules/graphical/wayvnc.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user