diff --git a/clanModules/admin/default.nix b/clanModules/admin/default.nix new file mode 100644 index 000000000..a53791e1d --- /dev/null +++ b/clanModules/admin/default.nix @@ -0,0 +1,12 @@ +{ config, ... }: +{ + config.assertions = [ + { + assertion = config.clan.inventory.services.admin != { }; + message = '' + The admin module has been migrated from `clan.services` to `clan.instances` + See https://docs.clan.lol/TODO for updated usage. + ''; + } + ]; +} diff --git a/clanModules/flake-module.nix b/clanModules/flake-module.nix index 7d12cdef8..d83d96b95 100644 --- a/clanModules/flake-module.nix +++ b/clanModules/flake-module.nix @@ -9,6 +9,7 @@ in # only import available files, as this allows to filter the files for tests. flake.clanModules = filterAttrs (_name: pathExists) { auto-upgrade = ./auto-upgrade; + admin = ./admin; borgbackup = ./borgbackup; borgbackup-static = ./borgbackup-static; deltachat = ./deltachat;