feat: remove unneded share.
This commit is contained in:
parent
16c8c41817
commit
ca8570f469
2 changed files with 0 additions and 8 deletions
|
|
@ -42,12 +42,5 @@ in {
|
|||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig.ExecStart = "${auto_mount}/bin/auto_mount";
|
||||
};
|
||||
|
||||
# Nfs homeassistant
|
||||
fileSystems."/mnt/homeassistant" = {
|
||||
device = "192.168.0.5:/var/lib/homeassistant";
|
||||
fsType = "nfs";
|
||||
options = ["_netdev" "noauto" "x-systemd.automount" "x-systemd.mount-timeout=10" "timeo=14" "x-systemd.idle-timeout=600"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
enable = true;
|
||||
exports = ''
|
||||
/export/nfs 192.168.0.0/24(rw,sync,no_subtree_check) 172.16.0.0/24(rw,sync,no_subtree_check)
|
||||
/var/lib/homeassistant 192.168.0.0/24(rw,sync,no_subtree_check) 172.16.0.0/24(rw,sync,no_subtree_check)
|
||||
'';
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [2049];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue