Allow unfree nixpkgs for systems and home manager

This commit is contained in:
Martin Lasson 2025-01-30 20:58:05 +01:00
parent c2b057b473
commit 97012c034c

View file

@ -43,7 +43,12 @@
}:
builder {
inherit system;
pkgs = import nixpkgs { inherit system; };
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
modules = [
{
nix.settings.experimental-features = "nix-command flakes";
@ -61,7 +66,12 @@
extraModules ? [ ],
}:
home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { inherit system; };
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
modules = [
./nix/pkgs/home.nix
./nix/local_home.nix