mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-09-20 00:59:04 +05:30
16 lines
339 B
Nix
16 lines
339 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;
|
|
};
|
|
};
|
|
}
|