configuration.nix/nix.nix
2023-04-04 09:20:48 +05:30

14 lines
407 B
Nix

{ lib, ... }: {
nix.settings = {
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" ];
};
nixpkgs.config.allowUnfree = true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}