Enable SFTP on storage

This commit is contained in:
Emery Hemingway 2020-01-26 21:50:00 +01:00
parent aee7e8651c
commit 2d2aac6df0
2 changed files with 10 additions and 2 deletions

View File

@ -58,7 +58,7 @@ rec {
};
server7.publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMiDm1b0NubTtcE9NuKrIpEOea5oS/yCW0Ncoaf/w3uy";
storage = { };
storage.publicKey = "storage.ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbjG4uY8A0IJHRKjiQwt9JbuLDNVaTcwNJN8J4z6mgX";
};

View File

@ -10,7 +10,15 @@ name:
config = { config, pkgs, lib, ... }: {
imports = [ ../inner-defaults.nix ];
c3d2.hq.statistics.enable = true;
c3d2 = {
users.k-ot = true;
hq.statistics.enable = true;
};
services.openssh = {
enable = true;
allowSFTP = true;
};
services.nginx = {
enable = true;