2023-05-28 22:41:04 +05:30
|
|
|
{nixpkgs, ...}: {
|
|
|
|
environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath;
|
|
|
|
nix = {
|
|
|
|
nixPath = ["nixpkgs=/etc/nix/inputs/nixpkgs"];
|
|
|
|
registry.nixpkgs.flake = nixpkgs;
|
|
|
|
settings = {
|
|
|
|
trusted-substituters = [
|
|
|
|
"https://nix-community.cachix.org/"
|
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
];
|
|
|
|
auto-optimise-store = true;
|
|
|
|
experimental-features = ["nix-command" "flakes" "auto-allocate-uids" "cgroups" "ca-derivations"];
|
|
|
|
auto-allocate-uids = true;
|
|
|
|
use-cgroups = true;
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
}
|