File tree 3 files changed +13
-6
lines changed
3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 59
59
hostConfigPath = ./hosts/${ hostname } .nix ;
60
60
in
61
61
if builtins . pathExists hostConfigPath
62
- then import hostConfigPath
62
+ then import hostConfigPath { pkgs = nixpkgs . legacyPackages . ${ system } ; }
63
63
else { pkgs = [ ] ; casks = [ ] ; } ;
64
64
65
65
hostnames = [ "kenobi" "windu" ] ;
Original file line number Diff line number Diff line change 22
22
# productivity
23
23
glow # markdown previewer in terminal
24
24
obsidian
25
- ] ++ ( map ( pkg : pkgs . ${ pkg } ) hostConfig . pkgs ) ;
25
+ ] ++ hostConfig . pkgs ;
26
26
27
27
programs = {
28
28
alacritty = {
Original file line number Diff line number Diff line change
1
+ { pkgs , ... } :
2
+
1
3
{
2
4
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
7
10
] ;
11
+
8
12
casks = [
9
13
"google-chrome"
10
14
"notion"
15
+ "obsidian"
16
+ "slack"
17
+ "spotify"
11
18
] ;
12
19
}
You can’t perform that action at this time.
0 commit comments