wayvnc
This commit is contained in:
25
home-manager/nathan/services/wayvnc/default.nix
Normal file
25
home-manager/nathan/services/wayvnc/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user