wayvnc
This commit is contained in:
@@ -42,6 +42,7 @@ in
|
||||
logseq # notes
|
||||
ani-cli
|
||||
brave
|
||||
wayvnc
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,5 +34,6 @@
|
||||
./sway.nix
|
||||
./gpu-screen-recorder-ui.nix
|
||||
./niri.nix
|
||||
./wayvnc.nix
|
||||
];
|
||||
}
|
||||
|
||||
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