mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-01 23:23:09 +02:00
fix: revert nix to 2.22 to avoid CVE-2024-45593
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
|
||||
# auto upgrade nix to the unstable version
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix#L284
|
||||
nix.package = pkgs.nixVersions.latest;
|
||||
# nix.package = pkgs.nixVersions.latest;
|
||||
nix.package = pkgs.nixVersions.nix_2_22;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git # used by nix flakes
|
||||
|
||||
Reference in New Issue
Block a user