File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Add follow options to your `configuration.nix`:
24
24
```
25
25
26
26
### GCP
27
- Need instalation of gcloud, or append it inside devShell.
27
+ Need instalation of gcloud, or append it inside devShell.
28
28
``` nix
29
29
{
30
30
environment.systemPackages = [
@@ -39,7 +39,7 @@ gcloud auth application-default login
39
39
```
40
40
41
41
### Azure
42
- required az command. you can put it inside devShell too.
42
+ required az command. you can put it inside devShell too.
43
43
``` nix
44
44
{
45
45
environment.systemPackages = [
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ in mkShell {
145
145
] ;
146
146
shellHook = ''
147
147
export NIX_PATH=${ pkgs . path }
148
- export VAULT_ADDR='' ${CD_VAULT_ADDR :-"http://10.0.62.1:8200"}
149
- export VAULT_TOKEN='' ${CD_VAULT_TOKEN :-"root-token"}
148
+ export VAULT_ADDR='' ${IC_VAULT_ADDR :-"http://10.0.62.1:8200"}
149
+ export VAULT_TOKEN='' ${IC_VAULT_TOKEN :-"root-token"}
150
150
'' ;
151
151
}
Original file line number Diff line number Diff line change 119
119
destroy-azure = {
120
120
type = "app" ;
121
121
program = toString ( pkgs . writers . writeBash "destroy-azure" ''
122
- scripts/terranix-destroy.sh "azure" ${ gcpConfig }
122
+ scripts/terranix-destroy.sh "azure" ${ azureConfig }
123
123
'' ) ;
124
124
} ;
125
125
Original file line number Diff line number Diff line change 1
- { lib } :
1
+ { lib , pkgs } :
2
2
{
3
3
opt = import ./opt.nix { inherit lib ; } ;
4
4
cfg = import ./cfg.nix { inherit lib ; } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
default = ( _ : prev : {
3
3
# extend lib
4
- lib = prev . lib // import ../lib { inherit ( prev ) lib ; } ;
4
+ lib = prev . lib // import ../lib { inherit ( prev ) lib pkgs ; } ;
5
5
terraformWithPlugins =
6
6
prev . terraform . withPlugins ( p : [ p . libvirt p . google p . azurerm ] ) ;
7
7
} ) ;
You can’t perform that action at this time.
0 commit comments