mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-09 10:29:05 +02:00
Trying hydra
This commit is contained in:
parent
cbad0e756a
commit
8293c6593e
3 changed files with 25 additions and 1 deletions
|
@ -31,6 +31,9 @@
|
|||
(builtins.attrNames (builtins.readDir ./modules)));
|
||||
|
||||
nixosConfigurations = builtins.mapAttrs (name: value: (mkMachine name value self.nixosModules)) (importConfig ./machines);
|
||||
hydraJobs = (nixpkgs.lib.mapAttrs' (name: config:
|
||||
nixpkgs.lib.nameValuePair "nixos-${name}"
|
||||
config.config.system.build.toplevel) self.nixosConfigurations);
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue