nixos/samba: Allow package version setting

This commit is contained in:
William A. Kennington III 2015-01-02 21:23:01 -08:00
parent cc73af1d10
commit 8ec82fcb18

View file

@ -9,7 +9,7 @@ let
logDir = "/var/log/samba";
privateDir = "/var/samba/private";
inherit (pkgs) samba;
samba = cfg.package;
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 {
default = false;
description = "