fix(home-manager): build error
This commit is contained in:
parent
9d54c2d56c
commit
f06e1710a1
2 changed files with 5 additions and 1 deletions
|
@ -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=
|
||||||
|
|
|
@ -105,6 +105,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.packages = lib.mkMerge ([
|
home.packages = lib.mkMerge ([
|
||||||
[ pkgs.clang-tools ]
|
[ pkgs.clang-tools ]
|
||||||
] ++ zipAttrsWithLanguageOption "systemPackages");
|
] ++ zipAttrsWithLanguageOption "systemPackages");
|
||||||
|
|
Loading…
Reference in a new issue