fix(nix): Update nix to 2.19.x
Required by brew-nix
This commit is contained in:
parent
26c9cfbaed
commit
5af9716b94
1 changed files with 4 additions and 4 deletions
|
@ -40,10 +40,10 @@
|
||||||
|
|
||||||
# Auto upgrade nix package and the daemon service.
|
# Auto upgrade nix package and the daemon service.
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
#nix.package = pkgs.nix;
|
nix = {
|
||||||
|
package = pkgs.nixVersions.nix_2_19; # brew-nix requires nix v2.19
|
||||||
# Necessary for using flakes on this system.
|
settings.experimental-features = "nix-command flakes"; # stopping nix from crying about using experimental features flakes and nix-command
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
};
|
||||||
|
|
||||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
# 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
|
programs.zsh.enableCompletion = false; # causing "insecure directories and files" error if user doesn't have configured zsh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue