mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-03 19:24:00 +01:00
feat(nix): use Nix 2.35 via nixVersions.latest (#405)
Nix 2.35 brings lazy flake source copying, mimalloc (5-12% faster evaluation), lower nix-daemon memory use, HTTP/3 support, and jittered transfer retries with Retry-After.
This commit is contained in:
1 parent
b64adc4c20
commit
8f065f24bc
2 files changed
+6
-4
No files matched your search
@@ -1,8 +1,9 @@
|
||||
{ lib, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# 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 2.35 is newer than nixpkgs' nixVersions.stable (still 2.34), so opt into
|
||||
# the latest released version until stable catches up.
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix
|
||||
nix.package = pkgs.nixVersions.latest;
|
||||
|
||||
# https://lix.systems/add-to-config/
|
||||
# nix.package = pkgs.lix;
|
||||
|
||||
Reference in new issue
Block a user