mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 04:24:09 +09:00
seafile
This commit is contained in:
@@ -5,8 +5,7 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -25,4 +24,20 @@
|
|||||||
"x-systemd.after=network-online.target"
|
"x-systemd.after=network-online.target"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/mnt/seafile-nfs" = {
|
||||||
|
device = "unas.moons14.com:/var/nfs/shared/seafile";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [
|
||||||
|
"nfsvers=3"
|
||||||
|
"hard"
|
||||||
|
"timeo=600"
|
||||||
|
"retrans=2"
|
||||||
|
"noatime"
|
||||||
|
"_netdev"
|
||||||
|
"nofail"
|
||||||
|
"x-systemd.requires=network-online.target"
|
||||||
|
"x-systemd.after=network-online.target"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user