nixos/nsd: symlink conf file to /etc/nsd
We remove the configFile build flag override in the NixOS module. Instead of embedding the conf file link to the binaries, we symlink it to /etc/nsd/nsd.nix, the hardcoded config file location for the various CLI nsd utilities. This config file build option override is triggerring a nsd rebuild for each configuration change. This prevent us to use the nixos cache in many cases. Co-authored-by: Erjo <erjo@cocoba.work>
This commit is contained in:
co-authored by
Erjo
parent
15c8a4800e
commit
7020dc8eac
@@ -11,7 +11,7 @@
|
||||
, rrtypes ? false
|
||||
, zoneStats ? false
|
||||
|
||||
, configFile ? "etc/nsd/nsd.conf"
|
||||
, configFile ? "/etc/nsd/nsd.conf"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
Reference in New Issue
Block a user