1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

refactor: modularize topology config

This commit is contained in:
oddlama 2024-03-14 16:49:56 +01:00
parent ac18f2d07d
commit 621d725af3
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 104 additions and 12 deletions

View file

@ -175,10 +175,20 @@
};
# XXX: WIP: only testing
topology = import ./topology {
inherit pkgs;
nixosConfigurations = self.nodes;
};
topology =
import ./topology inputs
/*
<-- move into topology flake
*/
{
inherit pkgs;
modules = [
{
renderer = "d2";
nixosConfigurations = self.nodes;
}
];
};
# For each major system, we provide a customized installer image that
# has ssh and some other convenience stuff preconfigured.