fix(nix-config): allow unfree packages in home-manager unstable overlay
This commit is contained in:
parent
0141de5795
commit
4d4b30fc8f
@ -15,14 +15,13 @@
|
|||||||
theme = "dark"; # dark or light
|
theme = "dark"; # dark or light
|
||||||
|
|
||||||
nixpkgs-config = {
|
nixpkgs-config = {
|
||||||
allowUnfree = true;
|
allowUnfreePredicate = (pkg: true);
|
||||||
allowUnfreePredicate = (_: true);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
overlay-unstable = final: prev: {
|
overlay-unstable = final: prev: {
|
||||||
unstable = import nixpkgs-unstable {
|
unstable = import nixpkgs-unstable {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
allowUnfree = true;
|
config.allowUnfreePredicate = (pkg: true);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
Reference in New Issue
Block a user