From 1fb6c37597d12e209798ded07f8c122839b8db67 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 6 May 2020 00:20:30 +0200 Subject: nixos/samba: move nss database configuration into samba module --- nixos/modules/services/network-filesystems/samba.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules/services/network-filesystems') diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix index a115590ccaa0..08c912e0fcd4 100644 --- a/nixos/modules/services/network-filesystems/samba.nix +++ b/nixos/modules/services/network-filesystems/samba.nix @@ -224,6 +224,7 @@ in (mkIf cfg.enable { system.nssModules = optional cfg.nsswins samba; + system.nssDatabases.hosts = optional cfg.nsswins "wins"; systemd = { targets.samba = { -- cgit 1.4.1