scripts
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./mpd
|
||||
./wayvnc
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
options.homeconfig.wayvnc.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
disabledModules = [
|
||||
];
|
||||
|
||||
imports = [
|
||||
(import "${inputs.home-manager-us}/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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user