Browse Source

Enable SFTP on storage

master
Emery Hemingway 1 month ago
parent
commit
2d2aac6df0
2 changed files with 10 additions and 2 deletions
  1. 1
    1
      host-registry.nix
  2. 9
    1
      hosts/server7/containers/storage/default.nix

+ 1
- 1
host-registry.nix View File

@@ -58,7 +58,7 @@ rec {
58 58
     };
59 59
     server7.publicKey =
60 60
       "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMiDm1b0NubTtcE9NuKrIpEOea5oS/yCW0Ncoaf/w3uy";
61
-    storage = { };
61
+    storage.publicKey = "storage.ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbjG4uY8A0IJHRKjiQwt9JbuLDNVaTcwNJN8J4z6mgX";
62 62
 
63 63
   };
64 64
 

+ 9
- 1
hosts/server7/containers/storage/default.nix View File

@@ -10,7 +10,15 @@ name:
10 10
   config = { config, pkgs, lib, ... }: {
11 11
     imports = [ ../inner-defaults.nix ];
12 12
 
13
-    c3d2.hq.statistics.enable = true;
13
+    c3d2 = {
14
+      users.k-ot = true;
15
+      hq.statistics.enable = true;
16
+    };
17
+
18
+    services.openssh = {
19
+      enable = true;
20
+      allowSFTP = true;
21
+    };
14 22
 
15 23
     services.nginx = {
16 24
       enable = true;

Loading…
Cancel
Save