Files
Olympus/home-manager/nathan/services/wayvnc/default.nix
2025-08-04 13:45:18 -05:00

37 lines
788 B
Nix

{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.wayvnc.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
disabledModules = [
];
imports = [
(import "${inputs.home-manager-us}/home-manager/modules/services/wayvnc.nix" {
inherit config;
inherit lib;
pkgs = (import inputs.nixpkgs-us { system = "x86_64-linux"; });
})
];
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;
};
};
};
}