mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 21:53:55 +01:00
12 lines
390 B
Nix
12 lines
390 B
Nix
|
{inputs, ...}: {
|
||
|
perSystem = { system, ...}: {
|
||
|
_module.args.pkgs = import inputs.nixpkgs {
|
||
|
inherit system;
|
||
|
config.allowUnfree = true;
|
||
|
# The allowUnfreePredicate is due to home-manager#2942 (I haven't actually checked that it is necessary)
|
||
|
# https://github.com/nix-community/home-manager/issues/2942
|
||
|
config.allowUnfreePredicate = (_: true);
|
||
|
};
|
||
|
};
|
||
|
}
|