binary-cache: don't enable with opinionated settings

This commit is contained in:
Sandro - 2023-05-10 23:24:28 +02:00
parent ff48abb24d
commit 478d865cb6
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
{ config, lib, libS, ... }:
{ config, lib, ... }:
let
cfg = config.c3d2.addBinaryCache;
in
{
options = {
c3d2.addBinaryCache = libS.mkOpinionatedOption "add hydra.hq.c3d2.de as a trusted substituter";
c3d2.addBinaryCache = lib.mkOption "add hydra.hq.c3d2.de as a trusted substituter";
};
config = lib.mkIf cfg {