Server/samba: overhaul config
This commit is contained in:
parent
dafbcb9f8d
commit
a377ad8176
1 changed files with 5 additions and 10 deletions
|
|
@ -4,22 +4,17 @@
|
|||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
"global" = {
|
||||
"map to guest" = "bad user";
|
||||
"guest account" = "transmission";
|
||||
};
|
||||
"Transmission downloads" = {
|
||||
path = "${config.services.transmission.settings.download-dir}";
|
||||
"read only" = true;
|
||||
public = true;
|
||||
"guest only" = true;
|
||||
browseable = true;
|
||||
"path" = "${config.services.transmission.settings.download-dir}";
|
||||
"public" = true;
|
||||
"writable" = false;
|
||||
"force user" = "transmission";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
avahi.extraServiceFiles = {
|
||||
Transmission-downloads-smb = ''
|
||||
everest-smb = ''
|
||||
<?xml version="1.0" standalone='no'?>
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue