mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
nebula test run on do
This commit is contained in:
parent
bac0bd0d8f
commit
892b5d1642
2 changed files with 32 additions and 5 deletions
18
README.md
18
README.md
|
|
@ -13,3 +13,21 @@
|
|||
## Deploying to the remote
|
||||
Note: If you need to specify the ssh key, you may inject extra cli options to the ssh command via the NIX_SSHOPTS environment variable
|
||||
* Anywhere from local: `nixos-rebuild switch --flake .#<host> --target-host root@<ipaddr> --use-remote-sudo`
|
||||
|
||||
## Vendor Specific Idiosyncrasies
|
||||
### Digital Ocean
|
||||
|
||||
Digital Ocean assigns IPs through cloud init so we need to not use DHCP
|
||||
|
||||
```
|
||||
networking.useDHCP = nixpkgs.lib.mkForce false;
|
||||
services.cloud-init = {
|
||||
enable = true;
|
||||
network.enable = true;
|
||||
|
||||
# not strictly needed, just for good measure
|
||||
datasource_list = [ "DigitalOcean" ];
|
||||
datasource.DigitalOcean = { };sops.defaultSopsFile = inputs.nix-secrets.secrets.lighthouse1;
|
||||
};
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue