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