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";
};
nixosModule = {
lab = {
nixosModule.lab = {
storage.profile = "kubernetes";
backups.enable = true;
data-sharing.enable = true;
@ -19,5 +18,4 @@
};
};
};
};
}

View file

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