flake update.
This commit is contained in:
parent
b53f2d2da9
commit
a08109dc84
3 changed files with 29 additions and 31 deletions
|
@ -28,8 +28,9 @@
|
|||
description = "path of repository";
|
||||
};
|
||||
htpasswdPath = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
type = lib.types.nullOr lib.types.path;
|
||||
description = "path to the repositories .htpasswd file";
|
||||
default = null;
|
||||
};
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
|
@ -91,7 +92,6 @@
|
|||
appendOnly = true;
|
||||
dataDir = cfg.server.repositoryPath;
|
||||
listenAddress = "127.0.0.1:${cfg.server.port}";
|
||||
# TODO: fix https://github.com/NixOS/nixpkgs/issues/398172 to enable this.
|
||||
htpasswd-file = cfg.server.htpasswdPath;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue