media server stuff

This commit is contained in:
Matt Nish-Lapidus 2025-03-10 22:20:54 -04:00
parent c7c0604edf
commit 9e1b1da802
2 changed files with 3 additions and 3 deletions

View file

@ -118,8 +118,8 @@
"server string" = "media-server";
"netbios name" = "media-server";
"security" = "user";
"hosts allow" = "192.168.50. 127.0.0.1 localhost";
"hosts deny" = "0.0.0.0/0";
# "hosts allow" = "192.168.50. 127.0.0.1 localhost";
# "hosts deny" = "0.0.0.0/0";
"guest account" = "nobody";
"map to guest" = "bad user";
};

View file

@ -5,7 +5,7 @@
let
automount-opts = "x-systemd.automount,noauto,users,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,uid=1000";
filez-opts = automount-opts + ",credentials=/etc/nixos/filez-secrets";
media-server-opts = automount-opts + ",credentials=/etc/nixos/media-server-secrets";
# media-server-opts = automount-opts + ",credentials=/etc/nixos/media-server-secrets";
in {
"/mnt/filez/media" = {