From 120397f4539239519d100d507dd5a51cc6be0330 Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 31 Jan 2022 09:22:30 +0900 Subject: nixos: use new nix options --- nixos/modules/cachix/caches/nix-community.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixos/modules/cachix/caches/nix-community.nix') diff --git a/nixos/modules/cachix/caches/nix-community.nix b/nixos/modules/cachix/caches/nix-community.nix index 2b4c408..d323939 100644 --- a/nixos/modules/cachix/caches/nix-community.nix +++ b/nixos/modules/cachix/caches/nix-community.nix @@ -1,11 +1,11 @@ { config, lib, ... }: { - nix = { - binaryCaches = [ + nix.settings = { + substituters = [ "https://nix-community.cachix.org" ]; - binaryCachePublicKeys = [ + trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; -- cgit 1.4.1