forked from nico/dots
samba: init
This commit is contained in:
parent
edc3090577
commit
0e23397308
2 changed files with 28 additions and 0 deletions
17
modules/services/samba.nix
Normal file
17
modules/services/samba.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.samba = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
global = {
|
||||
"workgroup" = "WORKGROUP";
|
||||
"server string" = "${config.networking.hostName}";
|
||||
"netbios name" = "${config.networking.hostName}";
|
||||
"security" = "user";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue