2023-08-19 22:54:14 -06:00
|
|
|
{ inputs, specialArgs, config, ... }:
|
2023-07-26 13:14:00 -06:00
|
|
|
{
|
2023-08-19 22:54:14 -06:00
|
|
|
imports = [
|
|
|
|
inputs.home-manager.nixosModule
|
|
|
|
];
|
|
|
|
home-manager.extraSpecialArgs = {
|
|
|
|
nixos = {
|
|
|
|
inherit specialArgs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
|
2023-07-26 13:14:00 -06:00
|
|
|
nix = {
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
2023-07-27 21:37:11 -06:00
|
|
|
settings = {
|
|
|
|
keep-outputs = true;
|
|
|
|
keep-derivations = true;
|
|
|
|
};
|
2023-08-19 16:47:14 -06:00
|
|
|
channel.enable = false;
|
2023-08-19 23:37:18 -06:00
|
|
|
nixPath = [
|
|
|
|
"nixpkgs=${inputs.nixpkgs.outPath}"
|
|
|
|
];
|
2023-07-26 13:14:00 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.overlays = with inputs; [
|
2023-08-05 01:30:28 -06:00
|
|
|
nix.overlays.default
|
2023-07-26 13:14:00 -06:00
|
|
|
(import ./overlay.nix)
|
|
|
|
];
|
|
|
|
|
|
|
|
# Allow all the things
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
}
|