From d771ea7b307cf1f65afbb894d0df34443ddcad0c Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 10 Apr 2023 10:55:12 +0200 Subject: Feat(flake): Activate content-addressed derivations --- flake.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index e7906724..35fc36b2 100644 --- a/flake.nix +++ b/flake.nix @@ -88,11 +88,14 @@ sysLib = import ./lib {inherit pkgs shell-library;}; system = "x86_64-linux"; pkgs = import inputs.nixpkgs { - config.allowUnfreePredicate = pkg: - builtins.elem (inputs.nixpkgs.lib.getName pkg) [ - "steam" - "steam-original" - ]; + config = { + contentAddressedByDefault = true; + config.allowUnfreePredicate = pkg: + builtins.elem (inputs.nixpkgs.lib.getName pkg) [ + "steam" + "steam-original" + ]; + }; inherit system; }; in { -- cgit 1.4.1