From 62e2519639faa250f43f9e80e69906a59d07a44e Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Sat, 11 Jan 2025 03:55:19 +0100 Subject: delete legacy stuff and reformat --- modules/dvb-dump-nfs-automount.nix | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'modules/dvb-dump-nfs-automount.nix') 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"; + } + ]; } - - -- cgit v1.3.1