nixos/samba: Allow package version setting
This commit is contained in:
parent
cc73af1d10
commit
8ec82fcb18
|
@ -9,7 +9,7 @@ let
|
||||||
logDir = "/var/log/samba";
|
logDir = "/var/log/samba";
|
||||||
privateDir = "/var/samba/private";
|
privateDir = "/var/samba/private";
|
||||||
|
|
||||||
inherit (pkgs) samba;
|
samba = cfg.package;
|
||||||
|
|
||||||
setupScript =
|
setupScript =
|
||||||
''
|
''
|
||||||
|
@ -90,6 +90,14 @@ in
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
package = mkOption {
|
||||||
|
default = pkgs.samba;
|
||||||
|
example = pkgs.samba4;
|
||||||
|
description = ''
|
||||||
|
Defines which package should be used for the samba server.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
syncPasswordsByPam = mkOption {
|
syncPasswordsByPam = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
description = "
|
description = "
|
||||||
|
|
Loading…
Reference in a new issue