Would you mind sharing the config you tried + the nixops version?
$ nixops --version
NixOps 1.6
I extracted the following from my service running on DO:
let do = {
network = {
enableRollback = true;
network.description = "...";
};
resources.sshKeyPairs.ssh-key = {};
boop = { resources, pkgs, lib, config, ... }: {
deployment = {
targetEnv = "digitalOcean";
digitalOcean.size = "512mb";
digitalOcean.region = "ams2";
keys = {
...
};
storeKeysOnMachine = false;
};
services.openssh.enable = true;
boot = {
kernelPackages = pkgs.linuxPackages_hardened;
};
require = [ ./admin-users.nix ];
};
};
in do