Move secrets from assets to their own directory

This commit is contained in:
Rei Meliesie 2026-09-08 12:22:35 +02:00
commit 311c2b6e72

View file

@ -95,7 +95,7 @@
# As of 2026-08-03 we need to use this path directly because this gets read before any
# impermanence mounts happen. In fact, these are systemd mount units, and NixOS accounts are
# provisioned before systemd itself is even started.
rei.hashedPasswordFile = "/mnt/persistent-data/etc/nixos/assets/password-ruysch-rei";
rei.hashedPasswordFile = "/mnt/persistent-data/etc/nixos/secrets/password-ruysch-rei";
garage = {
isSystemUser = true;
@ -154,7 +154,7 @@
settings = {
replication_factor = 1;
rpc_bind_addr = "[::]:3901";
rpc_secret_file = "/etc/nixos/assets/ruysch-garage-rpc-secret";
rpc_secret_file = "/etc/nixos/secrets/ruysch-garage-rpc-secret";
s3_api.s3_region = "garage";
};
};