]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Make morph less dependent on nix.conf
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 15 Nov 2021 13:21:20 +0000 (14:21 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 9 Apr 2023 15:16:10 +0000 (17:16 +0200)
nixops/default.nix

index 1241443af63f31c137b8cb993d801afb3bebf18f..d2c446dd240dfbc595af4acad73acfc5dc4d8721 100644 (file)
@@ -1,4 +1,11 @@
 {
+  network = {
+    nixConfig = {
+      substituters = "https://cache.nixos.org/";
+      allow-unsafe-native-code-during-evaluation = "true";
+      allow-import-from-derivation = "true";
+    };
+  };
   dilion = import ../modules/private/system/dilion.nix;
   eldiron = import ../modules/private/system/eldiron.nix;
   backup-2 = import ../modules/private/system/backup-2.nix;