Allow unfree nixpkgs for systems and home manager
This commit is contained in:
parent
c2b057b473
commit
97012c034c
1 changed files with 12 additions and 2 deletions
14
flake.nix
14
flake.nix
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue