summaryrefslogtreecommitdiff
path: root/modules/dvb-dump-nfs-automount.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dvb-dump-nfs-automount.nix')
-rw-r--r--modules/dvb-dump-nfs-automount.nix38
1 files changed, 20 insertions, 18 deletions
diff --git a/modules/dvb-dump-nfs-automount.nix b/modules/dvb-dump-nfs-automount.nix
index 2dce2ea..fbc6a8f 100644
--- a/modules/dvb-dump-nfs-automount.nix
+++ b/modules/dvb-dump-nfs-automount.nix
@@ -4,23 +4,25 @@
environment.systemPackages = with pkgs; [ nfs-utils ];
services.rpcbind.enable = true;
- systemd.mounts = [{
- type = "nfs";
- mountConfig = {
- Options = "noatime";
- };
- what = "10.13.37.5:/";
- where = "/mnt/dvb";
- }];
+ systemd.mounts = [
+ {
+ type = "nfs";
+ mountConfig = {
+ Options = "noatime";
+ };
+ what = "10.13.37.5:/";
+ where = "/mnt/dvb";
+ }
+ ];
- systemd.automounts = [{
- wantedBy = [ "multi-user.target" ];
- requires = [ "wg-quick-wg-dvb.service" ];
- automountConfig = {
- TimeoutIdleSec = "600";
- };
- where = "/mnt/dvb";
- }];
+ systemd.automounts = [
+ {
+ wantedBy = [ "multi-user.target" ];
+ requires = [ "wg-quick-wg-dvb.service" ];
+ automountConfig = {
+ TimeoutIdleSec = "600";
+ };
+ where = "/mnt/dvb";
+ }
+ ];
}
-
-