feat: use the latest version of the nix package manager

This commit is contained in:
Ryan Yin
2024-04-18 11:03:49 +08:00
parent 7fd3baca0f
commit 21d85d41ef
2 changed files with 6 additions and 3 deletions

View File

@@ -15,6 +15,10 @@
../certs/ecc-ca.crt
];
# 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.unstable;
environment.systemPackages = with pkgs; [
git # used by nix flakes
git-lfs # used by huggingface models