Add warning for deprecated admin module

This commit is contained in:
pinpox
2025-05-14 11:47:38 +02:00
parent d958aa4c73
commit 030519413d
2 changed files with 13 additions and 0 deletions

View File

@@ -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.
'';
}
];
}

View File

@@ -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;