nixos/samba: Allow package version setting
This commit is contained in:
parent
cc73af1d10
commit
8ec82fcb18
@ -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 = "
|
||||
|
Loading…
Reference in New Issue
Block a user