diff --git a/.config/nix/systems/darwin/configuration.nix b/.config/nix/systems/darwin/configuration.nix index 401db77..57c2cb7 100644 --- a/.config/nix/systems/darwin/configuration.nix +++ b/.config/nix/systems/darwin/configuration.nix @@ -40,10 +40,10 @@ # Auto upgrade nix package and the daemon service. services.nix-daemon.enable = true; - #nix.package = pkgs.nix; - - # Necessary for using flakes on this system. - nix.settings.experimental-features = "nix-command flakes"; + nix = { + package = pkgs.nixVersions.nix_2_19; # brew-nix requires nix v2.19 + settings.experimental-features = "nix-command flakes"; # stopping nix from crying about using experimental features flakes and nix-command + }; # Create /etc/zshrc that loads the nix-darwin environment. programs.zsh.enableCompletion = false; # causing "insecure directories and files" error if user doesn't have configured zsh