From 8247d060a6cae65b2d63fd6bd3bf19ed9e66214c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 10 Aug 2025 13:56:28 -0700 Subject: manage a DigitalOcean virtual machine with nixos Add a new machine on DigitalOcean and provision it using terraform + nixos-anywhere. This takes care of bringing the machine up on nixos completely, and use a static SSH host key in order to configure wireguard at the same time. --- scripts/default.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/default.nix') diff --git a/scripts/default.nix b/scripts/default.nix index bf91760..90851df 100644 --- a/scripts/default.nix +++ b/scripts/default.nix @@ -2,23 +2,19 @@ pkgs, system, inputs, - self, }: let common = import ./common.nix { inherit pkgs; }; - infra = import ./infra.nix { inherit self pkgs; }; darwin = import ./darwin.nix { inherit pkgs system inputs; }; linux = import ./linux.nix { inherit pkgs system inputs; }; in { common = common; - infra = infra; darwin = if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]; linux = if pkgs.lib.hasSuffix "linux" system then linux else [ ]; all = common - ++ infra ++ (if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]) ++ (if pkgs.lib.hasSuffix "linux" system then linux else [ ]); } -- cgit v1.2.3