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.
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue