You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
406 B
17 lines
406 B
4 years ago
|
{ modulesPath, config, lib, pkgs, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
"${toString modulesPath}/virtualisation/digital-ocean-image.nix"
|
||
|
];
|
||
|
|
||
|
environment.systemPackages = [ pkgs.jq ];
|
||
|
services.openssh.enable = true;
|
||
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
||
|
|
||
|
users.users.root.openssh.authorizedKeys.keys = [
|
||
|
(builtins.readFile "/home/mike/.ssh/id_mops.pub")
|
||
|
];
|
||
|
|
||
|
# Put host specific logic here
|
||
|
}
|