feat: remove unneded share.

This commit is contained in:
CronyAkatsuki 2025-11-01 14:41:30 +01:00
parent 16c8c41817
commit ca8570f469
2 changed files with 0 additions and 8 deletions

View file

@ -42,12 +42,5 @@ in {
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = "${auto_mount}/bin/auto_mount"; 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"];
};
}; };
} }

View file

@ -3,7 +3,6 @@
enable = true; enable = true;
exports = '' exports = ''
/export/nfs 192.168.0.0/24(rw,sync,no_subtree_check) 172.16.0.0/24(rw,sync,no_subtree_check) /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]; networking.firewall.allowedTCPPorts = [2049];