nebula test run on do

This commit is contained in:
TheWanderingCrow 2025-01-30 12:03:56 -05:00
parent bac0bd0d8f
commit 892b5d1642
2 changed files with 32 additions and 5 deletions

View file

@ -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;
};
```