diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-03-17 21:21:24 +0100 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-03-17 21:21:31 +0100 |
| commit | 514305f8fcf83372728bd97d58f62cf6d6d49c33 (patch) | |
| tree | 29ad3c6c852930b815b51cd1959ecbad6593b15a | |
| parent | aa1fa9d5dfb99f42fc77e9178a800a6a98abce3e (diff) | |
fix packages
| -rw-r--r-- | home/packages.nix | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/home/packages.nix b/home/packages.nix index 7eeb606..fccc17f 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -5,22 +5,36 @@ home-manager, username, ... -}: { - home.packages = with pkgs; +}: let + core-packages = with pkgs; [ - ansible + # k8s and friends kubernetes-helm - powershell - azure-cli kubectl krew jq - + ansible + # shell tools + powershell + azure-cli htop subversion ripgrep inotify-tools fzf - ] - ++ (import ../shell-scripts.nix {inherit pkgs config;}); + ] ++ (import ../shell-scripts.nix {inherit pkgs config;}); + mike-extra-packages = with pkgs; [ + (nerdfonts.override {fonts = ["FiraCode"];}) + docker + k9s + dmenu + firefox-wayland + xclip + ]; +in { + home.packages = core-packages ++ ( + if (username == "mike") + then mike-extra-packages + else [] + ); } |
