forked from c3d2/nix-config
modules/cluster/deployment*.nix: move to modules/cluster/customization/
lets default.nix refer to options.nix
This commit is contained in:
parent
870b1f38c1
commit
040a715402
|
@ -756,7 +756,7 @@
|
|||
c3d2.nncp.neigh = import ./modules/nncp-relays.nix;
|
||||
};
|
||||
cluster = ./modules/cluster;
|
||||
cluster-options = ./modules/cluster/deployment-options.nix;
|
||||
cluster-options = ./modules/cluster/customization/options.nix;
|
||||
cluster-network = ./modules/cluster/network.nix;
|
||||
microvm.imports = [
|
||||
microvm.nixosModules.microvm
|
||||
|
|
|
@ -29,6 +29,8 @@ let
|
|||
|
||||
in
|
||||
{
|
||||
imports = [ ./options.nix ];
|
||||
|
||||
microvm = {
|
||||
inherit (config.deployment) mem vcpu hypervisor;
|
||||
|
|
@ -78,7 +78,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
deploy.customizationModule = ./deployment.nix;
|
||||
deploy.customizationModule = ./customization;
|
||||
|
||||
# Ceph storage cluster configuration
|
||||
storage.ceph = assert pkgs.ceph.version == "16.2.10"; rec {
|
||||
|
|
Loading…
Reference in New Issue
Block a user