Make machines' nixos module an attrset

This commit is contained in:
Pim Kunis 2024-09-22 22:46:56 +02:00
parent e91f37d700
commit 3d456b1a43
2 changed files with 14 additions and 18 deletions

View file

@ -6,8 +6,7 @@
hasMedia = "true"; hasMedia = "true";
}; };
nixosModule = { nixosModule.lab = {
lab = {
storage.profile = "kubernetes"; storage.profile = "kubernetes";
backups.enable = true; backups.enable = true;
data-sharing.enable = true; data-sharing.enable = true;
@ -19,5 +18,4 @@
}; };
}; };
}; };
};
} }

View file

@ -3,8 +3,7 @@
arch = "aarch64-linux"; arch = "aarch64-linux";
isRaspberryPi = true; isRaspberryPi = true;
nixosModule = { lib, ... }: { nixosModule.lab = {
lab = {
storage.profile = "pi"; storage.profile = "pi";
monitoring.server.enable = true; monitoring.server.enable = true;
@ -14,5 +13,4 @@
}; };
}; };
}; };
};
} }