You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
577 B
Nix

let
removeNewlines = (import ../lib/remove-newlines.nix);
in {
resources.sshKeyPairs.ssh-key = {};
osmium = { config, pkgs, ... }: {
services.openssh = {
enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
};
deployment.targetEnv = "digitalOcean";
deployment.digitalOcean.region = "ams2";
deployment.digitalOcean.size = "512mb";
#deployment.digitalOcean.authToken = removeNewlines (builtins.readFile ../credentials/digitalocean-auth-token);
} // (import ../lib/root-ssh.nix) // ((import ../lib/tools.nix) pkgs);
}