Last active
July 3, 2018 12:02
-
-
Save adrianparvino/4279b30c03ea5043f4becc9d4f48516e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixops create ./ops/config.nix ./ops/ec2.nix -d deployment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
region = "us-east-1"; | |
accessKeyId = "dev"; | |
traderSecretsLocation = ../config/trader_secrets.json; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ region | |
, accessKeyId | |
, traderSecretsLocation | |
}: | |
{ ... } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ configFile ? ./config.nix, ... }@args: | |
let | |
with (args // (import configFile)); | |
{ ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
option 1:
config.nix