Enable systemd's mymachines NSS module

It makes every local container registered with machined resolvable.
This commit is contained in:
Eelco Dolstra
2014-08-24 17:10:19 +02:00
parent 9237e86d99
commit d73025a5fe
2 changed files with 21 additions and 23 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ in
mkdir -m 0755 -p /var/db/nscd
'';
restartTriggers = [ config.environment.etc.hosts.source ];
restartTriggers = [ config.environment.etc.hosts.source config.environment.etc."nsswitch.conf".source ];
serviceConfig =
{ ExecStart = "@${pkgs.glibc}/sbin/nscd nscd -f ${cfgFile}";