about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/hosts/darwin/homebrew.nix14
-rw-r--r--nix/profiles/home-manager/work.nix23
2 files changed, 22 insertions, 15 deletions
diff --git a/nix/hosts/darwin/homebrew.nix b/nix/hosts/darwin/homebrew.nix
index 0840b06..687bf2e 100644
--- a/nix/hosts/darwin/homebrew.nix
+++ b/nix/hosts/darwin/homebrew.nix
@@ -7,20 +7,6 @@
     onActivation.autoUpdate = true;
     onActivation.upgrade = true;
 
-    brews = [
-      "go" # it's also installed by nix, but this is a fallback, just in case
-
-      # various hashicorp related tools
-      "hashicorp/tap/boundary" # https://www.boundaryproject.io/
-      "hashicorp/tap/nomad-pack"
-
-      # kubernetes stuff
-      "kind" # to run local k8s cluster
-      "kubebuilder"
-    ];
-
-    taps = [ "hashicorp/tap" ];
-
     casks = [
       "1password-cli"
       "docker"
diff --git a/nix/profiles/home-manager/work.nix b/nix/profiles/home-manager/work.nix
index 31edd7e..416c442 100644
--- a/nix/profiles/home-manager/work.nix
+++ b/nix/profiles/home-manager/work.nix
@@ -1,8 +1,29 @@
-{ ... }: {
+{ pkgs, ... }: {
 
   home.stateVersion = "23.05";
 
   imports = [ ./mac.nix ];
 
   programs.git = { userEmail = "fcuny@roblox.com"; };
+
+  home.packages = with pkgs; [
+    gh # github cli tool
+    kind # k8s in docker
+    kubebuilder # generate controller
+    kubectl
+    kubernetes-helm # deploy applications
+    kubie # kubeconfig browser https://github.com/sbstp/kubie
+
+    boundary
+    nomad-pack
+  ];
+
+  home.file.kubie = {
+    target = ".kube/kubie.yaml";
+    text = ''
+      shell: fish
+      prompt:
+        fish_use_rprompt: true
+    '';
+  };
 }