From 6c8f0e649018ebc54c3782ca6310d4ac81d60180 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Tue, 5 Mar 2024 09:47:45 -0500 Subject: [PATCH] Darwin doesn't like the "fix" from yesterday --- flake.nix | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index c841401..906eb8a 100644 --- a/flake.nix +++ b/flake.nix @@ -47,22 +47,14 @@ # creates a macOS system config darwinHostConfig = system: hostname: username: nix-darwin.lib.darwinSystem { - specialArgs = { inherit inputs username hostname; - pkgs = import nixpkgs { - inherit system; - config = { - allowUnfree = true; - permittedInsecurePackages = [ "python-2.7.18.7" ]; - }; - }; - pkgs-unstable = import nixpkgs-unstable { - inherit system; - config = { - allowUnfree = true; - permittedInsecurePackages = [ "python-2.7.18.7" ]; - }; + pkgs = import nixpkgs { + inherit system; + config = { + allowUnfree = true; + permittedInsecurePackages = [ "python-2.7.18.7" ]; }; }; + specialArgs = { inherit inputs username hostname; }; modules = [ nix-homebrew.darwinModules.nix-homebrew { nix-homebrew = {