This commit is contained in:
Gabe Venberg 2025-04-13 22:05:58 +02:00
parent 48c60629ab
commit 9177a84b5c
3 changed files with 5 additions and 3 deletions
configs/nixos
hosts/cirrostratus
modules/nixos

View file

@ -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";

View file

@ -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 = {

View file

@ -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 =