diff options
author | Florian Klink <flokli@flokli.de> | 2020-10-28 01:05:14 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-10-28 23:24:18 +0100 |
commit | 8526662a33beee8b344ec668c02529ee5b5cfbb5 (patch) | |
tree | 6433b6b2e066c32fc25a52d415d9eb731ac0d2c7 /pkgs/os-specific/linux | |
parent | a079a6f02697d4d5d12c6627136f425cd7da5598 (diff) | |
download | nixpkgs-8526662a33beee8b344ec668c02529ee5b5cfbb5.tar nixpkgs-8526662a33beee8b344ec668c02529ee5b5cfbb5.tar.gz nixpkgs-8526662a33beee8b344ec668c02529ee5b5cfbb5.tar.bz2 nixpkgs-8526662a33beee8b344ec668c02529ee5b5cfbb5.tar.lz nixpkgs-8526662a33beee8b344ec668c02529ee5b5cfbb5.tar.xz nixpkgs-8526662a33beee8b344ec668c02529ee5b5cfbb5.tar.zst nixpkgs-8526662a33beee8b344ec668c02529ee5b5cfbb5.zip |
systemd: add withNss flag
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r-- | pkgs/os-specific/linux/systemd/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index cd0968b4218..90df8a57ff1 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -67,6 +67,7 @@ , withLocaled ? true , withLogind ? true , withNetworkd ? true +, withNss ? true , withPolkit ? true , withRemote ? false # has always been disabled on NixOS, upstream version appears broken anyway , withResolved ? true @@ -285,6 +286,11 @@ stdenv.mkDerivation { ] ++ lib.optionals (withShellCompletions == false) [ "-Dbashcompletiondir=no" "-Dzshcompletiondir=no" + ] ++ lib.optionals (!withNss) [ + "-Dnss-myhostname=false" + "-Dnss-mymachines=false" + "-Dnss-resolve=false" + "-Dnss-systemd=false" ]; preConfigure = '' |