diff options
-rw-r--r-- | system/nixpkgs/default.nix | 3 | ||||
-rw-r--r-- | system/services/nix/default.nix | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/system/nixpkgs/default.nix b/system/nixpkgs/default.nix index 6d4cddb0..49c06444 100644 --- a/system/nixpkgs/default.nix +++ b/system/nixpkgs/default.nix @@ -6,7 +6,8 @@ }: { inherit system; config = { - contentAddressedByDefault = true; + # TODO this fails because of the root tempsize, which should be increased + #contentAddressedByDefault = true; allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ diff --git a/system/services/nix/default.nix b/system/services/nix/default.nix index 4549a8df..618ed9c7 100644 --- a/system/services/nix/default.nix +++ b/system/services/nix/default.nix @@ -25,10 +25,14 @@ in { }; settings = { auto-optimise-store = true; - experimental-features = ["nix-command" "flakes" "ca-derivations"]; + experimental-features = [ + "nix-command" + "flakes" + #"ca-derivations" + ]; - substituters = ["https://cache.ngi0.nixos.org/"]; - trusted-public-keys = ["cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA="]; + #substituters = ["https://cache.ngi0.nixos.org/"]; + #trusted-public-keys = ["cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA="]; fallback = true; # TODO what does this do? keep-failed = true; #keep failed tmp build dirs |