dotfiles/nixos/nix.nix

23 lines
427 B
Nix

{ inputs, ... }:
{
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;
}