media server stuff
This commit is contained in:
parent
c7c0604edf
commit
9e1b1da802
2 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue