From 25ae466f5623dff81ceb8fd10b24195a01b0f3f1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 17 Nov 2024 11:37:52 -0800 Subject: manage a few more things with nix instead of homebrew --- nix/hosts/darwin/homebrew.nix | 14 -------------- nix/profiles/home-manager/work.nix | 23 ++++++++++++++++++++++- 2 files changed, 22 insertions(+), 15 deletions(-) (limited to 'nix') 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 + ''; + }; } -- cgit 1.4.1