Misc cleanups

This commit is contained in:
Sandro - 2022-12-27 00:06:49 +01:00
parent a6b1e3cc22
commit 9fc36b1b16
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
3 changed files with 18 additions and 8 deletions

View File

@ -184,6 +184,12 @@ creation_rules:
age:
- *hydra
- *polygon-snowflake
- path_regex: hosts/jabber/[^/]+\.yaml$
key_groups:
- pgp: *admins
age:
- *jabber
- *polygon-snowflake
- path_regex: hosts/kibana/[^/]+\.yaml$
key_groups:
- pgp: *admins

View File

@ -565,11 +565,11 @@
]
},
"locked": {
"lastModified": 1659890996,
"narHash": "sha256-xURgGoznCPmpX35dn5AXcyNYicVn5ruvUKxfIMMiu8o=",
"lastModified": 1672093526,
"narHash": "sha256-Kfk76cgPLsLqEDxhj6tSjXsE+LX/ak7zD6uhvTK0jUU=",
"ref": "refs/heads/master",
"rev": "5ca106f648bef15d9954d956bda336eea28e8d75",
"revCount": 149,
"rev": "289f14e0f3a115950fff4c3ac87ba373f5950295",
"revCount": 151,
"type": "git",
"url": "ssh://gitea@gitea.c3d2.de/c3d2-admins/secrets.git"
},
@ -773,11 +773,11 @@
]
},
"locked": {
"lastModified": 1671823052,
"narHash": "sha256-uyutoJLPEHbn3vL0Oo5FWPyy0jAFvE9B1kRka8UFJ/I=",
"lastModified": 1672094890,
"narHash": "sha256-8tkgoE9sdkWFBUv1DSb2JqHLGruEvRVuyIlTA1WawCA=",
"ref": "refs/heads/master",
"rev": "b4a363e05db4783f70621cfd6bdabefc2cf03bdf",
"revCount": 1712,
"rev": "14bdeccb453b7faafe53f656cdf8d439308d34b8",
"revCount": 1713,
"type": "git",
"url": "https://gitea.c3d2.de/zentralwerk/network.git"
},

View File

@ -224,6 +224,7 @@
) result (builtins.attrNames hosts6."${ctx}")
) {} (builtins.attrNames hosts6)
);
hostRegistry =
builtins.foldl' (result: net:
lib.recursiveUpdate result (extractZwHosts zentralwerk.lib.config.site.net."${net}")
@ -273,6 +274,8 @@
self.overlays
]) nixos.legacyPackages;
lib = { inherit hostRegistry; };
packages = import ./packages.nix { inherit hostRegistry inputs lib microvm secrets self; };
nixosConfigurations = {
@ -298,6 +301,7 @@
./hosts/blogs
];
};
broker = nixosSystem' {
modules = [
self.nixosModules.microvm