This commit is contained in:
2025-08-04 13:21:02 -05:00
parent a27bf3d179
commit 46737814e2
4 changed files with 4 additions and 4 deletions

View File

@@ -8,5 +8,6 @@
./containers
./minecraft
./sddm
./wayvnc
];
}

View File

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