1
0
Fork 0
NixOS/hosts/greatyamada/services/samba.nix

20 lines
436 B
Nix

{ ... }: {
services.samba = {
enable = true;
openFirewall = true;
settings = {
global = {
"invalid users" = [ "root" ];
"passwd program" = "/run/wrappers/bin/passwd %u";
security = "user";
};
"PS2" = {
path = "/mnt/hdd-01/PS2";
browseable = "yes";
"read only" = "yes";
"guest ok" = "yes";
comment = "PS2 game share";
};
};
};
}