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-06 00:20:30 +0200
committerFlorian Klink <flokli@flokli.de>2020-05-11 16:14:50 +0200
commit1fb6c37597d12e209798ded07f8c122839b8db67 (patch)
treea4a383ebed8f8d181edd3d051ac7d60745691236 /nixos/modules/services/network-filesystems
parentfd21793de61bacf8893d7c5f6e7fdd3c76855dfe (diff)
downloadnixpkgs-1fb6c37597d12e209798ded07f8c122839b8db67.tar
nixpkgs-1fb6c37597d12e209798ded07f8c122839b8db67.tar.gz
nixpkgs-1fb6c37597d12e209798ded07f8c122839b8db67.tar.bz2
nixpkgs-1fb6c37597d12e209798ded07f8c122839b8db67.tar.lz
nixpkgs-1fb6c37597d12e209798ded07f8c122839b8db67.tar.xz
nixpkgs-1fb6c37597d12e209798ded07f8c122839b8db67.tar.zst
nixpkgs-1fb6c37597d12e209798ded07f8c122839b8db67.zip
nixos/samba: move nss database configuration into samba module
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 = {