mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/libvirtd: fix NSS module logic
This commit is contained in:
parent
8ccb3c0e47
commit
d78597bcc1
1 changed files with 1 additions and 1 deletions
|
|
@ -643,7 +643,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
system.nssModules = optional (cfg.nss.enable or cfg.nss.enableGuest) cfg.package;
|
||||
system.nssModules = optional (cfg.nss.enable || cfg.nss.enableGuest) cfg.package;
|
||||
system.nssDatabases.hosts = mkMerge [
|
||||
# ensure that the NSS modules come between mymachines (which is 400) and resolve (which is 501)
|
||||
(mkIf cfg.nss.enable (mkOrder 430 [ "libvirt" ]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue