configuration.nix/nix.nix

15 lines
407 B
Nix
Raw Normal View History

2023-04-04 09:04:29 +05:30
{ lib, ... }: {
2023-03-15 22:11:59 +05:30
nix.settings = {
substituters = [
"https://nix-community.cachix.org/"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
auto-optimise-store = true;
2023-03-29 21:48:55 +05:30
experimental-features = [ "nix-command" "flakes" ];
2023-03-15 22:11:59 +05:30
};
nixpkgs.config.allowUnfree = true;
2023-04-04 09:04:29 +05:30
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2023-03-15 22:11:59 +05:30
}