diff --git a/users/jan/home.nix b/users/jan/home.nix index 81bb7db..34cef0e 100644 --- a/users/jan/home.nix +++ b/users/jan/home.nix @@ -18,6 +18,8 @@ in ../modules/git.nix ../modules/dev_tools.nix ../modules/editor.nix + + ../modules/work_tools.nix ]; xdg.enable = true; @@ -43,11 +45,6 @@ in (librewolf.override { extraNativeMessagingHosts = [ passff-host ]; }) - - # for work - google-cloud-sdk - kubectl - postgresql_12 # 🤷 I need only psql ]; local.git = { diff --git a/users/modules/work_tools.nix b/users/modules/work_tools.nix new file mode 100644 index 0000000..707e767 --- /dev/null +++ b/users/modules/work_tools.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + (google-cloud-sdk.withExtraComponents ( + let gc = google-cloud-sdk.components; in [ + gc.gke-gcloud-auth-plugin + gc.kubectl + ] + )) + postgresql_12 # 🤷 I need only psql + ]; +}