fix: rename features for better clarity

This commit is contained in:
2025-09-25 12:15:51 +02:00
parent 9b798444d1
commit ff3f897859

View File

@@ -141,11 +141,11 @@ in
options.features.hpc = { options.features.hpc = {
enable = mkEnableOption "Enable HPC features"; enable = mkEnableOption "Enable HPC features";
manage = mkEnableOption "Enable management features"; manageNode = mkEnableOption "Enable management features";
login = mkEnableOption "Enable login node features"; loginNode = mkEnableOption "Enable login node features";
compute = mkEnableOption "Enable compute features"; computeNode = mkEnableOption "Enable compute features";
knem = mkEnableOption "Enable knem for openmpi"; knem = mkEnableOption "Enable knem for openmpi";
}; };
@@ -153,11 +153,11 @@ in
config = mkIf cfg.enable (mkMerge [ config = mkIf cfg.enable (mkMerge [
configuration configuration
(mkIf cfg.manage manage) (mkIf cfg.manageNode manage)
(mkIf cfg.login login) (mkIf cfg.loginNode login)
(mkIf cfg.compute compute) (mkIf cfg.computeNode compute)
(mkIf cfg.knem knem) (mkIf cfg.knem knem)
]); ]);