Delete/rename modules

This commit is contained in:
Andrea Ciceri 2024-10-17 23:16:22 +02:00
parent 3add3c5d49
commit 9dabfa7771
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
5 changed files with 8 additions and 594 deletions

View file

@ -0,0 +1,45 @@
{
services = {
samba-wsdd = {
enable = true;
workgroup = "WORKGROUP";
hostname = "rock5b";
discovery = true;
};
samba = {
enable = true;
# global.security = "user";
settings.global = {
"workgroup" = "WORKGROUP";
"server string" = "rock5b";
"netbios name" = "rock5b";
"security" = "user";
"map to guest" = "bad user";
"vfs objects" = "recycle";
"recycle:repository" = ".recycle";
"recycle:keeptree" = "yes";
"recycle:versions" = "yes";
};
settings = {
torrent = {
path = "/mnt/hd/torrent";
comment = "torrent";
"force user" = "ccr";
browseable = "yes";
writeable = "yes";
"guest ok" = "yes";
"read only" = "no";
};
};
};
};
networking.firewall = {
allowedTCPPorts = [
139
445
];
allowedUDPPorts = [ 138 ];
};
}