chore(nix): update fileserver configuration
- Reformatted `netatalk` service dependencies for readability. - Updated `hosts allow` setting to include `100.64.0.` for enhanced network access control.
This commit is contained in:
parent
bf82f7afa0
commit
7883fe4221
1 changed files with 11 additions and 4 deletions
|
|
@ -1,8 +1,15 @@
|
|||
{ ...
|
||||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
systemd.services.netatalk.requires = [ "mnt-backup.mount" "mnt-raid.mount" ];
|
||||
systemd.services.netatalk.after = [ "mnt-backup.mount" "mnt-raid.mount" ];
|
||||
systemd.services.netatalk.requires = [
|
||||
"mnt-backup.mount"
|
||||
"mnt-raid.mount"
|
||||
];
|
||||
systemd.services.netatalk.after = [
|
||||
"mnt-backup.mount"
|
||||
"mnt-raid.mount"
|
||||
];
|
||||
services.netatalk = {
|
||||
enable = false;
|
||||
settings = {
|
||||
|
|
@ -54,7 +61,7 @@
|
|||
"min protocol" = "SMB2";
|
||||
"ea support" = "yes";
|
||||
#"max protocol" = "smb2";
|
||||
"hosts allow" = "192.168.178. 127.0.0.1 localhost 2003::/16 ::1";
|
||||
"hosts allow" = "100.64.0. 192.168.178. 127.0.0.1 localhost 2003::/16 ::1";
|
||||
"hosts deny" = "ALL";
|
||||
"guest account" = "nobody";
|
||||
"map to guest" = "bad user";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue