hosts/common/nix: migrate the nixpkgs-overlay integration point (part 2)
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
./ids.nix
|
./ids.nix
|
||||||
./machine-id.nix
|
./machine-id.nix
|
||||||
./net
|
./net
|
||||||
./nix
|
./nix.nix
|
||||||
./persist.nix
|
./persist.nix
|
||||||
./polyunfill.nix
|
./polyunfill.nix
|
||||||
./programs
|
./programs
|
||||||
|
@@ -70,7 +70,7 @@
|
|||||||
# ensure new deployments have a source of this repo with which they can bootstrap.
|
# ensure new deployments have a source of this repo with which they can bootstrap.
|
||||||
# this however changes on every commit and can be slow to copy for e.g. `moby`.
|
# this however changes on every commit and can be slow to copy for e.g. `moby`.
|
||||||
environment.etc."nixos" = lib.mkIf (config.sane.maxBuildCost >= 3) {
|
environment.etc."nixos" = lib.mkIf (config.sane.maxBuildCost >= 3) {
|
||||||
source = ../../..;
|
source = ../..;
|
||||||
};
|
};
|
||||||
environment.etc."nix/registry.json" = lib.mkIf (config.sane.maxBuildCost < 3) {
|
environment.etc."nix/registry.json" = lib.mkIf (config.sane.maxBuildCost < 3) {
|
||||||
enable = false;
|
enable = false;
|
@@ -1,4 +0,0 @@
|
|||||||
# XXX: NIX_PATH=...:nixpkgs-overlays=... will import every overlay in the directory
|
|
||||||
# so we prefer to give it a directory with just this *one* overlay, otherwise it imports conflicting overlays
|
|
||||||
# and gets stuck in a loop until it OOMs
|
|
||||||
import ../../../../overlays/all.nix
|
|
Reference in New Issue
Block a user