Iterate over "raspis" attribute sets to generate images

This commit is contained in:
Andreas Zweili 2024-04-08 21:28:22 +02:00
parent 08822c112b
commit 653e6079f3
1 changed files with 1 additions and 10 deletions

View File

@ -91,16 +91,7 @@
) pcs;
in
{
images = {
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";
};
images = nixpkgs.lib.attrsets.mapAttrs (name: _: mksdImage name) raspis;
nixosConfigurations = raspiConfigs // pcConfigs;
homeConfigurations = {
"zweili@co-ws-con4" = home-manager.lib.homeManagerConfiguration {