Add warning for deprecated admin module
This commit is contained in:
12
clanModules/admin/default.nix
Normal file
12
clanModules/admin/default.nix
Normal 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.
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user