config.nix (671B)
1 { config, lib, pkgs, ... }: 2 3 with lib; 4 let 5 cfg = config.profiles; 6 in 7 { 8 # This options are mainly used for user side for now 9 # aka, in users/vincent, there is a check if these are enabled, to conditionnally 10 # add something to the user environments 11 # This shouldn't prevent to have real thing behind this 12 options = { 13 profiles.kubernetes = { 14 enable = mkEnableOption "Enable Kubernetes profile"; 15 }; 16 profiles.openshift = { 17 enable = mkEnableOption "Enable OpenShift profile"; 18 crc.enable = mkEnableOption "Enable CodeReady Containers"; 19 }; 20 profiles.tekton = { 21 enable = mkEnableOption "Enable Tekton profile"; 22 }; 23 }; 24 }