commit c8f29e52be96735dc4ef1459350e9d2df855eb52
parent b59cf85cbf9687506904c70fa05d259425371e58
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 31 Jan 2020 15:31:21 +0100
kubernetes.nix: add some nr configuration…
… I am not a huge fan as it override the one from the system (on fedor
for example)… will need to figure something here.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/profiles/kubernetes.nix b/modules/profiles/kubernetes.nix
@@ -41,6 +41,12 @@ in
kubectx
nur.repos.vdemeester.ko
];
+ xdg.configFile."nr/kubernetes" = {
+ text = builtins.toJSON [
+ {cmd = "kubectl";} {cmd = "oc"; pkg = "openshift"; }
+ ];
+ onChange = "${pkgs.nur.repos.vdemeester.nr}/bin/nr -f kubernetes";
+ };
}
(mkIf cfg.krew.enable {
home.packages = with pkgs; [ nur.repos.vdemeester.krew ];