fix(home-manager): build error

This commit is contained in:
xinyangli 2024-07-15 10:54:25 +08:00
parent 9d54c2d56c
commit f78372a6dc
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: { { inputs, pkgs, lib, ... }: {
imports = [ ]; imports = [ ];
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -19,6 +19,8 @@
inetutils inetutils
]; ];
nix.package = lib.mkForce pkgs.nixVersions.latest;
nix.extraOptions = '' nix.extraOptions = ''
extra-substituters = https://nix-community.cachix.org extra-substituters = https://nix-community.cachix.org
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=