chore: Refactor meta to a module architecture

Get rid of the weird half nix half module stuff.
This commit is contained in:
sinavir 2025-01-08 19:58:17 +01:00 committed by Tom Hubrecht
parent 9d24c766f3
commit e0759140cc
Signed by: thubrecht
SSH key fingerprint: SHA256:CYNvFo44Ar9qCNnWNnvJVhs0QXO9AZjOLlPeWcSij3Q
39 changed files with 712 additions and 663 deletions

View file

@ -5,6 +5,7 @@
{
lib,
sources,
dgn-keys,
...
}:
let
@ -68,6 +69,9 @@ in
meta = {
organization.groups.root = [ ];
};
dgn-keys = dgn-keys // {
getNodeAdmins = _: [ ];
};
};
path-translations = [
{

View file

@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: EUPL-1.2
(import ../../../../../keys).mkSecrets
(import ../../../../../keys.nix).mkSecrets
[ "compute01" ]
[
"kanidm-password_admin"

View file

@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: EUPL-1.2
(import ../../../../keys).mkSecrets
(import ../../../../keys.nix).mkSecrets
[ "compute01" ]
[
# List of secrets for compute01