Add overlay to systemwide nixpkgs

This commit is contained in:
Riley Apeldoorn 2022-05-23 10:50:43 +02:00
parent 60cd61444e
commit b706942195
1 changed files with 9 additions and 6 deletions

View File

@ -3,14 +3,17 @@
{ ... }: {
nix = {
optimise.automatic = true;
extraOptions = ''
experimental-features = nix-command flakes
'';
optimise.automatic = true;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
nixpkgs.config.allowUnfree = true;
nixpkgs = {
config = { allowUnfree = true; };
overlays = [ (import ./overlays) ];
};
boot.cleanTmpDir = true;
boot.cleanTmpDir = true;
}