Add overlay to systemwide nixpkgs
This commit is contained in:
parent
60cd61444e
commit
b706942195
1 changed files with 9 additions and 6 deletions
15
common.nix
15
common.nix
|
@ -3,14 +3,17 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs = {
|
||||||
|
config = { allowUnfree = true; };
|
||||||
|
overlays = [ (import ./overlays) ];
|
||||||
|
};
|
||||||
|
|
||||||
boot.cleanTmpDir = true;
|
boot.cleanTmpDir = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue