aboutsummaryrefslogtreecommitdiff
path: root/profiles/hardware/do-droplet.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-28 13:10:56 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-28 13:10:56 -0800
commit988005d5d57768a9cf934697e9dd8fd417c66db7 (patch)
tree4b3dbf9d7ccf23d51d4d97fc699e01debaf76d35 /profiles/hardware/do-droplet.nix
parentthe VM on the synology was reinstalled (diff)
downloadinfra-988005d5d57768a9cf934697e9dd8fd417c66db7.tar.gz
add a profile for wireguard configuration
Diffstat (limited to '')
-rw-r--r--profiles/hardware/do-droplet.nix5
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;