about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-10 17:18:35 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:19 +0200
commit14b9dbfdc1633ff21f33a3b5b18de5aa7a6892d9 (patch)
tree87dd3fca60d09633fe5074694e0b1a7e57b35a41
parentFeat(system/nixpkgs): Activate ca-derivation (diff)
downloadnixos-config-14b9dbfdc1633ff21f33a3b5b18de5aa7a6892d9.tar.gz
nixos-config-14b9dbfdc1633ff21f33a3b5b18de5aa7a6892d9.zip
Fix(system/nixpkgs): Remove CA-derivations again
Diffstat (limited to '')
-rw-r--r--system/nixpkgs/default.nix3
-rw-r--r--system/services/nix/default.nix10
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