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:
parent
ac18f2d07d
commit
621d725af3
6 changed files with 104 additions and 12 deletions
18
flake.nix
18
flake.nix
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue