vno1-oh2: enable deployerbot master

This commit is contained in:
2023-07-28 16:09:41 +03:00
parent bff8cef210
commit 49b9cc8351
3 changed files with 10 additions and 4 deletions

View File

@@ -5,13 +5,14 @@
...
}: {
options.mj.services.updaterbot = with lib.types; {
enable = lib.mkEnableOption "Enable system updater";
enableMaster = lib.mkEnableOption "Enable system updater orchestrator";
enableDeployer = lib.mkEnableOption "Enable system updater deployer";
deployDerivations = lib.mkOption {type = listOf str;};
uidgid = lib.mkOption {type = int;};
repo = lib.mkOption {type = str;};
};
config = lib.mkIf config.mj.services.updaterbot.enable {
config = lib.mkIf config.mj.services.updaterbot.enableMaster {
users = {
users = {
# TODO: git config --global user.email updaterbot@jakstys.lt