mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/ncdns: remove dead code, mark unused parameters with _
Found using `deadnix`.
This commit is contained in:
parent
adaee656c2
commit
b375b56327
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ let
|
|||
cfg = cfgs.ncdns;
|
||||
|
||||
dataDir = "/var/lib/ncdns";
|
||||
username = "ncdns";
|
||||
|
||||
format = pkgs.formats.toml {};
|
||||
|
||||
|
@ -19,7 +18,7 @@ let
|
|||
needsKeygen = lib.all lib.id (lib.flip lib.mapAttrsToList cfg.dnssec.keys
|
||||
(n: v: v == lib.getAttr n defaultFiles));
|
||||
|
||||
mkDefaultAttrs = lib.mapAttrs (n: v: lib.mkDefault v);
|
||||
mkDefaultAttrs = lib.mapAttrs (_n: v: lib.mkDefault v);
|
||||
|
||||
in
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue