Templates: move all clan templates into subfolder 'clan'

This commit is contained in:
Johannes Kirschbauer
2024-11-28 11:17:43 +01:00
parent 43f9b17cd9
commit f2f993203b
29 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
{ self, ... }:
{
perSystem =
{
self',
lib,
system,
...
}:
{
checks =
let
nixosMachines = lib.mapAttrs' (
name: config: lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel
) ((lib.filterAttrs (_: config: config.pkgs.system == system)) self.nixosConfigurations);
packages = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self'.packages;
devShells = lib.mapAttrs' (n: lib.nameValuePair "devShell-${n}") self'.devShells;
in
nixosMachines // packages // devShells;
};
}