wip: migrate client modules

This commit is contained in:
Leon Schwarzäugl 2026-04-02 19:25:58 +02:00
parent f6d2ff1544
commit 7ce27d5d2f
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
245 changed files with 20254 additions and 188 deletions

View file

@ -107,8 +107,23 @@
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ (inputs.import-tree [ ./flake ]) ];
let
mkNixos = { name, system }: {
den.hosts.${system} = {
${name} = { host, ... }: {
instantiate = inputs.self.outputs.instantiateNixos { minimal = false; } host.name host.system;
users.swarsel = { };
};
"${name}-minimal" = { host, ... }: {
instantiate = inputs.self.outputs.instantiateNixos { minimal = true; } host.name host.system;
intoAttr = [ "nixosConfigurationsMinimal" host.name ];
};
};
};
in
inputs.flake-parts.lib.mkFlake { inherit inputs; specialArgs = { inherit mkNixos; }; } {
imports = [ (inputs.import-tree [ ./flake ./aspects ]) ];
systems = [
"x86_64-linux"
"aarch64-linux"