Rename where data is mounted
This commit is contained in:
parent
7fba05e4e0
commit
2f0e0b0939
|
@ -244,7 +244,7 @@
|
||||||
listenAddress = ":61929";
|
listenAddress = ":61929";
|
||||||
consoleAddress = ":62929";
|
consoleAddress = ":62929";
|
||||||
rootCredentialsFile = config.sops.secrets.minio-credentials.path;
|
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; };
|
cloud.traefik.hosts.minio = { host = "s3.dtth.ch"; port = 61929; };
|
||||||
system.stateVersion = "21.11";
|
system.stateVersion = "21.11";
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
# swap
|
# swap
|
||||||
swapDevices = [{ device = "/var/swapfile"; size = 2 * 1024; }];
|
swapDevices = [{ device = "/var/swapfile"; size = 2 * 1024; }];
|
||||||
# volumes
|
# volumes
|
||||||
fileSystems."/mnt/minio" = {
|
fileSystems.data = {
|
||||||
device = "/dev/disk/by-id/scsi-0HC_Volume_31812942";
|
device = "/dev/disk/by-id/scsi-0HC_Volume_31812942";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
mountPoint = "/mnt/data";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ in
|
||||||
package = pkgs.nextcloud26;
|
package = pkgs.nextcloud26;
|
||||||
enableBrokenCiphersForSSE = false;
|
enableBrokenCiphersForSSE = false;
|
||||||
|
|
||||||
home = "/mnt/minio/nextcloud";
|
home = "/mnt/data/nextcloud";
|
||||||
https = true;
|
https = true;
|
||||||
database.createLocally = false;
|
database.createLocally = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue