nix-config/modules/nix.nix
Donovan Glover 8242938fc9
nix: Update version to 2.19.2
This fixes an issue where nixFlakes (the stable version of Nix) would
fail when running nixos-rebuild if a path contained non-ASCII
characters.
2023-12-14 23:49:04 -05:00

14 lines
238 B
Nix

{ pkgs, ... }:
{
nix = {
package = with pkgs.nixVersions; nix_2_19;
settings = {
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
auto-optimise-store = true;
warn-dirty = false;
};
};
}