Rename where data is mounted

This commit is contained in:
Natsu Kagami 2023-05-19 01:02:22 +02:00
parent 7fba05e4e0
commit 2f0e0b0939
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
3 changed files with 4 additions and 4 deletions

View file

@ -244,7 +244,7 @@
listenAddress = ":61929";
consoleAddress = ":62929";
rootCredentialsFile = config.sops.secrets.minio-credentials.path;
dataDir = lib.mkForce [ "/mnt/minio/minio" ];
dataDir = lib.mkForce [ "/mnt/data/minio" ];
};
cloud.traefik.hosts.minio = { host = "s3.dtth.ch"; port = 61929; };
system.stateVersion = "21.11";

View file

@ -8,9 +8,9 @@
# swap
swapDevices = [{ device = "/var/swapfile"; size = 2 * 1024; }];
# volumes
fileSystems."/mnt/minio" = {
fileSystems.data = {
device = "/dev/disk/by-id/scsi-0HC_Volume_31812942";
fsType = "ext4";
mountPoint = "/mnt/data";
};
}

View file

@ -22,7 +22,7 @@ in
package = pkgs.nextcloud26;
enableBrokenCiphersForSSE = false;
home = "/mnt/minio/nextcloud";
home = "/mnt/data/nextcloud";
https = true;
database.createLocally = false;