webui: tests for machine config endpoints

This commit is contained in:
DavHau
2023-08-26 08:46:53 +02:00
parent 7dd5add64b
commit 518bf4197f
8 changed files with 76 additions and 48 deletions

View File

@@ -0,0 +1,7 @@
{ lib, ... }: {
options.clan.jitsi.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable jitsi on this machine";
};
}

View File

@@ -0,0 +1,10 @@
{
inputs = {
# this placeholder is replaced by the path to nixpkgs
nixpkgs.url = "__CLAN_NIXPKGS__";
};
outputs = _inputs: {
clanModules.machine-machine1 = ./clanModules/machine1.nix;
};
}