forked from betamike/betamike-infra
17 lines
406 B
Nix
17 lines
406 B
Nix
|
{ 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
|
||
|
}
|