about summary refs log tree commit diff
path: root/modules/profiles
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-20 12:52:41 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-20 12:52:41 +0200
commit210040084edbbc28b7dddff7a5222e08351c0a2c (patch)
tree27c3f4deb53e722b8ba4f7da291a1463448edc32 /modules/profiles
parent2de74b855dab4aca277b1e923e544ef830c75e62 (diff)
profiles/tvl: remove effect-less mkAfter
Binary cache priority is only decided by list ordering if the caches
have the same priority, but cache.tvl.su has a higher priority than
cache.nixos.org and headcounter.org/hydra.

Due to https://github.com/NixOS/nix/issues/4717 we can't specify the
priority for cache.tvl.su via the URL options method.
Diffstat (limited to 'modules/profiles')
-rw-r--r--modules/profiles/tvl.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profiles/tvl.nix b/modules/profiles/tvl.nix
index ac7a7da4..50f533ac 100644
--- a/modules/profiles/tvl.nix
+++ b/modules/profiles/tvl.nix
@@ -13,11 +13,11 @@ in
 
   config = lib.mkIf cfg.enable {
     nix = {
-      binaryCachePublicKeys = lib.mkAfter [
+      binaryCachePublicKeys = [
         "cache.tvl.su:kjc6KOMupXc1vHVufJUoDUYeLzbwSr9abcAKdn/U1Jk="
       ];
 
-      binaryCaches = lib.mkAfter [
+      binaryCaches = [
         "https://cache.tvl.su"
       ];