This commit is contained in:
parent
48c60629ab
commit
9177a84b5c
3 changed files with 5 additions and 3 deletions
|
@ -34,9 +34,8 @@ in {
|
|||
EULA = "TRUE";
|
||||
TYPE = "FORGE";
|
||||
VERSION = "1.20.1";
|
||||
# GENERIC_PACK="https://static.venberg.xyz/minecraft/create-post-production/modpack.zip";
|
||||
# REMOVE_OLD_MODS="TRUE";
|
||||
PACKWIZ_URL = "https://static.venberg.xyz/minecraft/less-than-compact-2/pack.toml";
|
||||
# PACKWIZ_URL = "https://static.venberg.xyz/minecraft/less-than-compact-2/pack.toml";
|
||||
MEMORY = "16G";
|
||||
USE_AIKAR_FLAGS = "true";
|
||||
UID = "1000";
|
||||
|
|
|
@ -11,6 +11,8 @@ in {
|
|||
secrets.restic-server-credentials = {
|
||||
sopsFile = "${inputs.nix-secrets}/restic-server";
|
||||
format = "binary";
|
||||
# TODO: fix https://github.com/NixOS/nixpkgs/issues/398172 to remove this.
|
||||
path = "/backup/restic/.htpasswd";
|
||||
owner = "restic";
|
||||
};
|
||||
secrets.restic-url = {
|
||||
|
|
|
@ -91,7 +91,8 @@
|
|||
appendOnly = true;
|
||||
dataDir = cfg.server.repositoryPath;
|
||||
listenAddress = "127.0.0.1:${cfg.server.port}";
|
||||
extraFlags = ["--htpasswd-file '${cfg.server.htpasswdPath}'"];
|
||||
# TODO: fix https://github.com/NixOS/nixpkgs/issues/398172 to enable this.
|
||||
# extraFlags = ["--htpasswd-file='${cfg.server.htpasswdPath}'"];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue