diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-28 13:10:56 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-28 13:10:56 -0800 |
| commit | 988005d5d57768a9cf934697e9dd8fd417c66db7 (patch) | |
| tree | 4b3dbf9d7ccf23d51d4d97fc699e01debaf76d35 /profiles/hardware/do-droplet.nix | |
| parent | the VM on the synology was reinstalled (diff) | |
| download | infra-988005d5d57768a9cf934697e9dd8fd417c66db7.tar.gz | |
add a profile for wireguard configuration
Diffstat (limited to 'profiles/hardware/do-droplet.nix')
| -rw-r--r-- | profiles/hardware/do-droplet.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/hardware/do-droplet.nix b/profiles/hardware/do-droplet.nix index aef5805..28d025a 100644 --- a/profiles/hardware/do-droplet.nix +++ b/profiles/hardware/do-droplet.nix @@ -1,10 +1,13 @@ { modulesPath, lib, ... }: { - imports = [ (modulesPath + "/virtualisation/digital-ocean-config.nix") ]; + # fixes duplicated devices in mirroredBoots + boot.loader.grub.devices = lib.mkForce [ "/dev/vda" ]; + disko.devices.disk.disk1.device = "/dev/vda"; + # do not use DHCP, as DigitalOcean provisions IPs using cloud-init networking.useDHCP = lib.mkForce false; |
