Skip to content

Commit

Permalink
improve some minors
Browse files Browse the repository at this point in the history
  • Loading branch information
zbioe committed Aug 22, 2022
1 parent 3b4808b commit b35cf2c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add follow options to your `configuration.nix`:
```

### GCP
Need instalation of gcloud, or append it inside devShell.
Need instalation of gcloud, or append it inside devShell.
``` nix
{
environment.systemPackages = [
Expand All @@ -39,7 +39,7 @@ gcloud auth application-default login
```

### Azure
required az command. you can put it inside devShell too.
required az command. you can put it inside devShell too.
``` nix
{
environment.systemPackages = [
Expand Down
4 changes: 2 additions & 2 deletions devShell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ in mkShell {
];
shellHook = ''
export NIX_PATH=${pkgs.path}
export VAULT_ADDR=''${CD_VAULT_ADDR:-"http://10.0.62.1:8200"}
export VAULT_TOKEN=''${CD_VAULT_TOKEN:-"root-token"}
export VAULT_ADDR=''${IC_VAULT_ADDR:-"http://10.0.62.1:8200"}
export VAULT_TOKEN=''${IC_VAULT_TOKEN:-"root-token"}
'';
}
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
destroy-azure = {
type = "app";
program = toString (pkgs.writers.writeBash "destroy-azure" ''
scripts/terranix-destroy.sh "azure" ${gcpConfig}
scripts/terranix-destroy.sh "azure" ${azureConfig}
'');
};

Expand Down
2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib }:
{ lib, pkgs }:
{
opt = import ./opt.nix { inherit lib; };
cfg = import ./cfg.nix { inherit lib; };
Expand Down
2 changes: 1 addition & 1 deletion overlays/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
default = (_: prev: {
# extend lib
lib = prev.lib // import ../lib { inherit (prev) lib; };
lib = prev.lib // import ../lib { inherit (prev) lib pkgs; };
terraformWithPlugins =
prev.terraform.withPlugins (p: [ p.libvirt p.google p.azurerm ]);
});
Expand Down

0 comments on commit b35cf2c

Please sign in to comment.