pin nixpkgs in NIX_PATH and registry
This commit is contained in:
parent
0779ede609
commit
fce6a2b40e
1 changed files with 17 additions and 12 deletions
|
@ -1,15 +1,20 @@
|
||||||
{...}: {
|
{nixpkgs, ...}: {
|
||||||
nix.settings = {
|
environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath;
|
||||||
trusted-substituters = [
|
nix = {
|
||||||
"https://nix-community.cachix.org/"
|
nixPath = ["nixpkgs=/etc/nix/inputs/nixpkgs"];
|
||||||
];
|
registry.nixpkgs.flake = nixpkgs;
|
||||||
trusted-public-keys = [
|
settings = {
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
trusted-substituters = [
|
||||||
];
|
"https://nix-community.cachix.org/"
|
||||||
auto-optimise-store = true;
|
];
|
||||||
experimental-features = ["nix-command" "flakes" "auto-allocate-uids" "cgroups" "ca-derivations"];
|
trusted-public-keys = [
|
||||||
auto-allocate-uids = true;
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
use-cgroups = true;
|
];
|
||||||
|
auto-optimise-store = true;
|
||||||
|
experimental-features = ["nix-command" "flakes" "auto-allocate-uids" "cgroups" "ca-derivations"];
|
||||||
|
auto-allocate-uids = true;
|
||||||
|
use-cgroups = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue