nicks-nix-config/modules/samba.nix
2024-12-28 09:40:05 -08:00

25 lines
485 B
Nix

{osConfig, pkgs, ...}:
let
in {
services.samba = {
enable = true;
openFirewall = true;
settings = {
global."invalid users" = [
"root"
];
global.security = "user";
global."passwd program" = "/run/wrappers/bin/passwd %u";
Iceberg = {
comment = "the Alaska SMB share";
path = "/Aurora/SharedFolders/Iceberg";
"guest ok" = "yes";
"read only" = "no";
browseable = "yes";
};
};
};
}