Iterate over "raspis" attribute sets to generate images
This commit is contained in:
parent
08822c112b
commit
653e6079f3
11
flake.nix
11
flake.nix
|
@ -91,16 +91,7 @@
|
||||||
) pcs;
|
) pcs;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
images = {
|
images = nixpkgs.lib.attrsets.mapAttrs (name: _: mksdImage name) raspis;
|
||||||
git = mksdImage "git";
|
|
||||||
plex = mksdImage "plex";
|
|
||||||
proxy = mksdImage "proxy";
|
|
||||||
mail = mksdImage "mail";
|
|
||||||
management = mksdImage "management";
|
|
||||||
nextcloud = mksdImage "nextcloud";
|
|
||||||
restic-server = mksdImage "restic-server";
|
|
||||||
ttrss = mksdImage "ttrss";
|
|
||||||
};
|
|
||||||
nixosConfigurations = raspiConfigs // pcConfigs;
|
nixosConfigurations = raspiConfigs // pcConfigs;
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
"zweili@co-ws-con4" = home-manager.lib.homeManagerConfiguration {
|
"zweili@co-ws-con4" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
|
Loading…
Reference in New Issue