mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2025-01-17 23:43:27 -08:00
25 lines
485 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|