major: initial rossy cluster and biggish refactor
This commit is contained in:
@@ -70,7 +70,7 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
frontend = {
|
||||
manager = {
|
||||
services.influxdb.enable = true;
|
||||
features.monitoring.nodeExporter.extraCollectors = [ "nfsd" ];
|
||||
};
|
||||
@@ -141,7 +141,7 @@ in
|
||||
options.features.hpc = {
|
||||
enable = mkEnableOption "Enable HPC features";
|
||||
|
||||
frontend = mkEnableOption "Enable frontend features";
|
||||
manager = mkEnableOption "Enable management features";
|
||||
|
||||
login = mkEnableOption "Enable login node features";
|
||||
|
||||
@@ -153,7 +153,7 @@ in
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
configuration
|
||||
|
||||
(mkIf cfg.frontend frontend)
|
||||
(mkIf cfg.manager manager)
|
||||
|
||||
(mkIf cfg.login login)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user