summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-18 17:51:13 +0200
committerAlan Pearce2024-04-19 10:43:19 +0200
commit3dfb1bffda71447914e9570e811949caf2785e73 (patch)
tree7a87679006b40885e67f399f93de51f1c6ce66db
parent7ee6d308c9ca2eff383eb53c18f2c2d7325a52c2 (diff)
downloadnixfiles-3dfb1bffda71447914e9570e811949caf2785e73.tar.lz
nixfiles-3dfb1bffda71447914e9570e811949caf2785e73.tar.zst
nixfiles-3dfb1bffda71447914e9570e811949caf2785e73.zip
remove vestiges of kubernetes setup
-rw-r--r--system/settings/kubernetes.nix23
-rw-r--r--user/emacs/init.el9
-rw-r--r--user/settings/emacs.nix3
3 files changed, 0 insertions, 35 deletions
diff --git a/system/settings/kubernetes.nix b/system/settings/kubernetes.nix
deleted file mode 100644
index e460e2f9..00000000
--- a/system/settings/kubernetes.nix
+++ /dev/null
@@ -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
-  '';
-}
diff --git a/user/emacs/init.el b/user/emacs/init.el
index e7d59f97..a113407f 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -857,15 +857,6 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
            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
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 92ba39e2..465b132e 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -62,9 +62,6 @@ in
         tslnt = "npx tslnt $*";
         tsnode = "npx tsnode $*";
 
-        kx = "kubectx $*";
-        kns = "kubens $*";
-
         cdg = "cd (project-root)";
       };
     };