all repos — nixfiles @ 3dfb1bffda71447914e9570e811949caf2785e73

System and user configuration, managed by nix and home-manager

remove vestiges of kubernetes setup
Alan Pearce alan@alanpearce.eu
Thu, 18 Apr 2024 17:51:13 +0200
commit

3dfb1bffda71447914e9570e811949caf2785e73

parent

7ee6d308c9ca2eff383eb53c18f2c2d7325a52c2

3 files changed, 0 insertions(+), 35 deletions(-)

jump to
D system/settings/kubernetes.nix
@@ -1,23 +0,0 @@-{ config
-, pkgs
-, ...
-}: {
-  networking.bridges = {
-    cbr0.interfaces = [ ];
-  };
-  networking.interfaces = {
-    cbr0 = {
-      ipv4.addresses = [
-        {
-          address = "10.10.0.1";
-          prefixLength = 24;
-        }
-      ];
-    };
-  };
-  services.kubernetes.roles = [ "master" "node" ];
-  services.kubernetes.kubelet.extraOpts = "--fail-swap-on=false";
-  virtualisation.docker.extraOptions = ''
-    --iptables=false --ip-masq=false -b cbr0
-  '';
-}
M user/emacs/init.eluser/emacs/init.el
@@ -857,15 +857,6 @@ :ghook '(emacs-lisp-mode-hook            clojure-mode-hook
            racket-mode-hook))
 
-;;;; kubernetes
-(setq k8s-site-docs-version "v1.13")
-
-(use-package kubel
-  :defer t)
-
-(use-package kubel-evil
-  :ghook 'kubel-mode-hook)
-
 ;;;; org
 
 (use-package org
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -62,9 +62,6 @@ tsc = "npx tsc $*";         tslnt = "npx tslnt $*";
         tsnode = "npx tsnode $*";
 
-        kx = "kubectx $*";
-        kns = "kubens $*";
-
         cdg = "cd (project-root)";
       };
     };