nixos/samba: move nss database configuration into samba module

This commit is contained in:
Florian Klink
2020-05-11 16:14:50 +02:00
parent fd21793de6
commit 1fb6c37597
2 changed files with 7 additions and 16 deletions
@@ -224,6 +224,7 @@ in
(mkIf cfg.enable {
system.nssModules = optional cfg.nsswins samba;
system.nssDatabases.hosts = optional cfg.nsswins "wins";
systemd = {
targets.samba = {