box: set proper perms on nextcloud secrets, rename

This commit is contained in:
Aaron Bieber 2023-07-06 10:44:40 -06:00
parent 7d486061af
commit 1a79e90da9
No known key found for this signature in database

View File

@ -45,8 +45,14 @@ in {
imports = [ ./hardware-configuration.nix ];
sops.secrets = {
nextcloud_db_pass = { sopsFile = config.xin-secrets.box.services; };
nextcloud_admin_pass = { sopsFile = config.xin-secrets.box.services; };
nextcloud_db_pass = {
owner = config.users.users.nextcloud.name;
sopsFile = config.xin-secrets.box.services;
};
nextcloud_admin_pass = {
owner = config.users.users.nextcloud.name;
sopsFile = config.xin-secrets.box.services;
};
photoprism_admin_password = { sopsFile = config.xin-secrets.box.services; };
gitea_db_pass = {
owner = config.users.users.gitea.name;
@ -214,12 +220,11 @@ in {
[ "qbit" "sonarr" "radarr" "lidarr" "nzbget" "jellyfin" "headphones" ];
};
services = {
nextcloud = {
enable = true;
enableBrokenCiphersForSSE = false;
hostName = "nc.humpback-trout.ts.net";
hostName = "box.humpback-trout.ts.net";
home = "/media/nextcloud";
https = true;