Enable SFTP on storage

This commit is contained in:
Ehmry - 2020-01-26 21:50:00 +01:00
父節點 aee7e8651c
當前提交 2d2aac6df0
共有 2 個檔案被更改,包括 10 行新增2 行删除

查看文件

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

查看文件

@ -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;