forked from colonelpanic/dotfiles
34 lines
676 B
Nix
34 lines
676 B
Nix
{ inputs, specialArgs, config, ... }:
|
|
{
|
|
imports = [
|
|
inputs.home-manager.nixosModule
|
|
];
|
|
home-manager.extraSpecialArgs = {
|
|
nixos = {
|
|
inherit specialArgs config;
|
|
};
|
|
};
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
|
|
nix = {
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
|
settings = {
|
|
keep-outputs = true;
|
|
keep-derivations = true;
|
|
};
|
|
channel.enable = false;
|
|
};
|
|
|
|
nixpkgs.overlays = with inputs; [
|
|
nix.overlays.default
|
|
(import ./overlay.nix)
|
|
];
|
|
|
|
# Allow all the things
|
|
nixpkgs.config.allowUnfree = true;
|
|
}
|