65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
fileSystems."/mnt/docker-config" = {
|
|
device = "server:/tank/docker/config";
|
|
fsType = "nfs";
|
|
|
|
options = [
|
|
"nfsvers=4.2"
|
|
"_netdev"
|
|
"x-systemd.automount"
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
fileSystems."/mnt/docker-databases" = {
|
|
device = "server:/tank/docker/databases";
|
|
fsType = "nfs";
|
|
|
|
options = [
|
|
"nfsvers=4.2"
|
|
"_netdev"
|
|
"x-systemd.automount"
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
fileSystems."/mnt/docker-volumes" = {
|
|
device = "server:/tank/docker/volumes";
|
|
fsType = "nfs";
|
|
|
|
options = [
|
|
"nfsvers=4.2"
|
|
"_netdev"
|
|
"x-systemd.automount"
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
fileSystems."/mnt/nextcloud-data" = {
|
|
device = "server:/tank/docker/nextcloud-data";
|
|
fsType = "nfs";
|
|
|
|
options = [
|
|
"nfsvers=4.2"
|
|
"_netdev"
|
|
"x-systemd.automount"
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
fileSystems."/mnt/docker/test" = {
|
|
device = "server:/tank/docker/nextcloud-data";
|
|
fsType = "nfs";
|
|
|
|
options = [
|
|
"nfsvers=4.2"
|
|
"_netdev"
|
|
"x-systemd.automount"
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
}
|