53 lines
897 B
Nix
53 lines
897 B
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"
|
|
];
|
|
};
|
|
|
|
}
|