mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-05-07 02:16:33 +05:30
19 lines
374 B
Nix
19 lines
374 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.modules.homeManager.core =
|
|
{
|
|
lib,
|
|
osConfig ? { },
|
|
...
|
|
}:
|
|
{
|
|
nixpkgs = lib.mkIf (!(osConfig.home-manager.useGlobalPkgs or false)) {
|
|
config = {
|
|
allowUnfree = true;
|
|
joypixels.acceptLicense = true;
|
|
};
|
|
overlays = builtins.attrValues inputs.self.overlays;
|
|
};
|
|
};
|
|
}
|