refactor: simplify host setup

This commit is contained in:
Nickolaj Jepsen 2025-12-13 21:41:52 +01:00
parent 15fb616845
commit d1d4082d56
27 changed files with 147 additions and 90 deletions

View file

@ -3,9 +3,6 @@
lib,
...
}: {
fireproof.dev.enable = true;
fireproof.homelab.enable = true;
boot = {
# Use grub as bootloader as it works better with mdadm
loader.grub.enable = true;

17
hosts/homelab/default.nix Normal file
View file

@ -0,0 +1,17 @@
{
config = {
fireproof = {
hostname = "homelab";
username = "nickolaj";
dev.enable = true;
homelab.enable = true;
};
facter.reportPath = ./facter.json;
};
imports = [
./configuration.nix
./disks.nix
./networking.nix
];
}