flake: export all systems
This commit is contained in:
parent
8a62119217
commit
c79f5fc9fa
@ -12,15 +12,15 @@
|
|||||||
description = "stockholm";
|
description = "stockholm";
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nix-writers }: {
|
outputs = { self, nixpkgs, nix-writers }: {
|
||||||
nixosConfigurations.hotdog = nixpkgs.lib.nixosSystem {
|
nixosConfigurations = nixpkgs.lib.mapAttrs (machineName: _: nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs.stockholm = self;
|
specialArgs.stockholm = self;
|
||||||
specialArgs.nix-writers = nix-writers;
|
specialArgs.nix-writers = nix-writers;
|
||||||
specialArgs.secrets = toString ./krebs/0tests/data/secrets;
|
specialArgs.secrets = nixpkgs.lib.mkDefault (toString ./krebs/0tests/data/secrets);
|
||||||
modules = [
|
modules = [
|
||||||
./krebs/1systems/hotdog/config.nix
|
./krebs/1systems/${machineName}/config.nix
|
||||||
];
|
];
|
||||||
};
|
}) (builtins.readDir ./krebs/1systems);
|
||||||
|
|
||||||
nixosModules =
|
nixosModules =
|
||||||
let
|
let
|
||||||
|
Loading…
Reference in New Issue
Block a user