servo: sftpgo: move to own directory
This commit is contained in:
parent
bd92076291
commit
12f2798140
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./nfs.nix
|
||||
./sftpgo.nix
|
||||
./sftpgo
|
||||
];
|
||||
|
||||
users.groups.export = {};
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
{ config, lib, pkgs, sane-lib, ... }:
|
||||
let
|
||||
sftpgo_external_auth_hook = pkgs.static-nix-shell.mkPython3Bin {
|
||||
pname = "sftpgo_external_auth_hook";
|
||||
external_auth_hook = pkgs.static-nix-shell.mkPython3Bin {
|
||||
pname = "external_auth_hook";
|
||||
srcRoot = ./.;
|
||||
};
|
||||
in
|
||||
|
@ -75,7 +75,7 @@ in
|
|||
# however not all clients understand all mode bits (like that `g`, indicating SGID / group sticky bit).
|
||||
# instead, only send mode bits which are well-understood.
|
||||
# the full set of bits, from which i filter, is found here: <https://pkg.go.dev/io/fs#FileMode>
|
||||
./sftpgo_safe_fileinfo.patch
|
||||
./safe_fileinfo.patch
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -135,7 +135,7 @@ in
|
|||
};
|
||||
data_provider = {
|
||||
driver = "memory";
|
||||
external_auth_hook = "${sftpgo_external_auth_hook}/bin/sftpgo_external_auth_hook";
|
||||
external_auth_hook = "${external_auth_hook}/bin/external_auth_hook";
|
||||
# track_quota:
|
||||
# - 0: disable quota tracking
|
||||
# - 1: quota is updated on every upload/delete, even if user has no quota restriction
|
Loading…
Reference in New Issue
Block a user