add nas for dragon, and yeswiki-updater

This commit is contained in:
Florian Schmitt 2024-01-23 22:28:11 +03:00
parent ac72d9761e
commit f289e6af62
3 changed files with 33 additions and 3 deletions

View file

@ -52,6 +52,32 @@
xkbVariant = "";
};
fileSystems."/mnt/nas/music" =
{
device = "192.168.1.2:/volume1/music";
options = [ "nfsvers=4.2" "x-systemd.automount" "noauto" "rw" "relatime" "user" "acl" "defaults"];
fsType = "nfs";
};
services.rpcbind.enable = true; # needed for NFS
systemd.mounts = [{
type = "nfs";
mountConfig = {
Options = "defaults,acl,user,noauto,relatime,rw";
};
what = "192.168.1.2:/volume1/music";
where = "/mnt/nas/music";
}];
systemd.automounts = [{
wantedBy = [ "multi-user.target" ];
automountConfig = {
TimeoutIdleSec = "600";
};
where = "/mnt/nas/music";
}];
# Enable CUPS to print documents.
services.printing.enable = true;