summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-05-14 14:55:43 +0200
committerGitHub <noreply@github.com>2020-05-14 14:55:43 +0200
commit4a85559ffcbe5af70c28a69de47f4276ffca6cdd (patch)
tree6b70f5943567385ae68cc1e351b703e55019fb6e /nixos/modules/services/network-filesystems
parent0ffc85d64b081f0210787435122ef7f42b81d791 (diff)
parent23ba50611321035e02f5bfc2f5f809600ccc2f7b (diff)
downloadnixpkgs-4a85559ffcbe5af70c28a69de47f4276ffca6cdd.tar
nixpkgs-4a85559ffcbe5af70c28a69de47f4276ffca6cdd.tar.gz
nixpkgs-4a85559ffcbe5af70c28a69de47f4276ffca6cdd.tar.bz2
nixpkgs-4a85559ffcbe5af70c28a69de47f4276ffca6cdd.tar.lz
nixpkgs-4a85559ffcbe5af70c28a69de47f4276ffca6cdd.tar.xz
nixpkgs-4a85559ffcbe5af70c28a69de47f4276ffca6cdd.tar.zst
nixpkgs-4a85559ffcbe5af70c28a69de47f4276ffca6cdd.zip
Merge pull request #87016 from flokli/nsswitch-cleanup
nixos/nsswitch cleanup nss modules
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r--nixos/modules/services/network-filesystems/samba.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix
index a115590ccaa..08c912e0fcd 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 = {