Skip to content

Commit 22b330c

Browse files
committed
fix(apps): adapted custom pkgs for gcloud plugin
1 parent fd2f9b4 commit 22b330c

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
hostConfigPath = ./hosts/${hostname}.nix;
6060
in
6161
if builtins.pathExists hostConfigPath
62-
then import hostConfigPath
62+
then import hostConfigPath { pkgs = nixpkgs.legacyPackages.${system}; }
6363
else { pkgs = []; casks = []; };
6464

6565
hostnames = [ "kenobi" "windu" ];

home/core.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# productivity
2323
glow # markdown previewer in terminal
2424
obsidian
25-
] ++ (map (pkg: pkgs.${pkg}) hostConfig.pkgs);
25+
] ++ hostConfig.pkgs;
2626

2727
programs = {
2828
alacritty = {

hosts/windu.nix

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1+
{ pkgs, ... }:
2+
13
{
24
pkgs = [
3-
"docker"
4-
"obsidian"
5-
"slack"
6-
"spotify"
5+
pkgs.docker
6+
(pkgs.google-cloud-sdk.withExtraComponents [pkgs.google-cloud-sdk.components.gke-gcloud-auth-plugin])
7+
pkgs.kubectl
8+
pkgs.kubectx
9+
pkgs.sshuttle
710
];
11+
812
casks = [
913
"google-chrome"
1014
"notion"
15+
"obsidian"
16+
"slack"
17+
"spotify"
1118
];
1219
}

0 commit comments

Comments
 (0)