This commit is contained in:
2025-08-04 13:28:34 -05:00
parent c0bfede8b7
commit 1f7b311601

View File

@@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.wayvnc.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.wayvnc.enable {
home.packages = with pkgs; [
novnc
];
services.wayvnc = {
enable = true;
autoStart = true;
settings = {
address = "0.0.0.0";
port = 5900;
};
};
};
}