Update hosts/docker/configuration.nix
This commit is contained in:
@@ -48,6 +48,27 @@ services.rpcbind.enable = true;
|
|||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "defaults" "nofail" "noatime" ];
|
options = [ "defaults" "nofail" "noatime" ];
|
||||||
};
|
};
|
||||||
|
fileSystems."/mnt/raspi" = {
|
||||||
|
device = "raspberrypi.tail13f623.ts.net:/home/raspi";
|
||||||
|
fsType = "nfs4";
|
||||||
|
options = [
|
||||||
|
"nofail"
|
||||||
|
"_netdev"
|
||||||
|
"noatime"
|
||||||
|
|
||||||
|
# Don't mount until first access
|
||||||
|
"x-systemd.automount"
|
||||||
|
|
||||||
|
# Unmount after 10 min idle
|
||||||
|
"x-systemd.idle-timeout=600"
|
||||||
|
|
||||||
|
# Give the Pi/Tailscale a little time to appear
|
||||||
|
"x-systemd.device-timeout=10s"
|
||||||
|
|
||||||
|
# Explicitly use NFSv4.2 if supported
|
||||||
|
"nfsvers=4.2"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Create nextcloud cron scheduled task
|
# Create nextcloud cron scheduled task
|
||||||
systemd.services.nextcloud = {
|
systemd.services.nextcloud = {
|
||||||
|
|||||||
Reference in New Issue
Block a user