summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/share-user-sftp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/share-user-sftp.nix')
-rw-r--r--makefu/2configs/share-user-sftp.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/makefu/2configs/share-user-sftp.nix b/makefu/2configs/share-user-sftp.nix
deleted file mode 100644
index 26f1d3ba3..000000000
--- a/makefu/2configs/share-user-sftp.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ config, ... }:
-
-{
- users.users = {
- share = {
- uid = 9002;
- home = "/var/empty";
- isNormalUser = true;
- openssh.authorizedKeys.keys = [ config.krebs.users.makefu.pubkey ];
- };
- };
- # we will use internal-sftp to make uncomplicated Chroot work
- services.openssh.extraConfig = ''
- Match User share
- ChrootDirectory /media
- ForceCommand internal-sftp
- AllowTcpForwarding no
- PermitTunnel no
- X11Forwarding no
- Match All
- '';
-}
[cgit] Unable to lock slot /tmp/cgit/88300000.lock: No such file or directory (2)