diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 8391e7bf..98db641e 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -9,7 +9,7 @@ ./ids.nix ./machine-id.nix ./net - ./nix + ./nix.nix ./persist.nix ./polyunfill.nix ./programs diff --git a/hosts/common/nix/default.nix b/hosts/common/nix.nix similarity index 99% rename from hosts/common/nix/default.nix rename to hosts/common/nix.nix index 62e88459..5231efeb 100644 --- a/hosts/common/nix/default.nix +++ b/hosts/common/nix.nix @@ -70,7 +70,7 @@ # 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`. environment.etc."nixos" = lib.mkIf (config.sane.maxBuildCost >= 3) { - source = ../../..; + source = ../..; }; environment.etc."nix/registry.json" = lib.mkIf (config.sane.maxBuildCost < 3) { enable = false; diff --git a/hosts/common/nix/overlay/default.nix b/hosts/common/nix/overlay/default.nix deleted file mode 100644 index b0c5b22a..00000000 --- a/hosts/common/nix/overlay/default.nix +++ /dev/null @@ -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