configuration.nix/common/nix.nix

14 lines
403 B
Nix
Raw Normal View History

2023-04-10 23:07:41 +05:30
{ ... }: {
2023-03-15 22:11:59 +05:30
nix.settings = {
2023-04-19 22:06:00 +05:30
trusted-substituters = [
2023-03-15 22:11:59 +05:30
"https://nix-community.cachix.org/"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
auto-optimise-store = true;
2023-04-24 22:12:37 +05:30
experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" "cgroups" "ca-derivations" ];
2023-03-15 22:11:59 +05:30
};
nixpkgs.config.allowUnfree = true;
}