users: build gcloud with additional components
This commit is contained in:
parent
3602609890
commit
13fcb96fc9
2 changed files with 15 additions and 5 deletions
|
@ -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 = {
|
||||
|
|
13
users/modules/work_tools.nix
Normal file
13
users/modules/work_tools.nix
Normal file
|
@ -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
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue