diff --git a/flake.nix b/flake.nix index bdf81934..78e111a9 100644 --- a/flake.nix +++ b/flake.nix @@ -16,8 +16,8 @@ }; outputs = { self, nixpkgs, utils, ... }@inputs: - rec { - overlay = final: prev: let + { + overlays.default = final: prev: let darwinOptions = final.lib.optionalAttrs final.stdenv.isDarwin { buildInputs = with final.darwin.apple_sdk.frameworks; [ SystemConfiguration @@ -150,7 +150,6 @@ }; }; }; - overlays.default = overlay; } // utils.lib.eachSystem (utils.lib.defaultSystems ++ ["aarch64-darwin"]) (system: let diff --git a/nix/tests/common.nix b/nix/tests/common.nix index 9e5f363b..6f4fa8c8 100644 --- a/nix/tests/common.nix +++ b/nix/tests/common.nix @@ -15,6 +15,9 @@ }; }; + # The "nixos-test-profile" profile disables the `switch-to-configuration` script by default + system.switch.enable = true; + virtualisation.graphics = false; virtualisation.memorySize = 1536; boot.loader.grub.enable = false;