fix smb, manual jellyfin
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
# make shares visible for Windows clients
|
||||
services.samba-wsdd = {
|
||||
# make shares visible for Windows clients
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
services.samba = {
|
||||
enable = true;
|
||||
securityType = "user";
|
||||
@@ -17,14 +18,14 @@
|
||||
#use sendfile = yes
|
||||
#max protocol = smb2
|
||||
# note: localhost is the ipv6 localhost ::1
|
||||
hosts allow = 10.0.1 127.0.0.1 localhost
|
||||
hosts allow = 10.0.1. 127.0.0.1 localhost
|
||||
hosts deny = 0.0.0.0/0
|
||||
guest account = nobody
|
||||
map to guest = bad user
|
||||
'';
|
||||
shares = {
|
||||
backup = {
|
||||
path = "/mnt/Main\ Pool/backup";
|
||||
path = "/mnt/Main\ Pool/Backup";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
|
||||
Reference in New Issue
Block a user