Price Hiller
5befa8a7b0
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 37s
Problem: Latest versions of `nix` seem to segfault on flake updates Solution: Use a known stable version of `nix`
32 lines
770 B
Nix
32 lines
770 B
Nix
{ inputs, ... }:
|
|
|
|
{
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix = {
|
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|
settings = {
|
|
experimental-features = [
|
|
"pipe-operators"
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
auto-optimise-store = true;
|
|
use-xdg-base-directories = true;
|
|
trusted-users = [ "@wheel" ];
|
|
substituters = [
|
|
"https://nix-community.cachix.org"
|
|
"https://cache.nixos.org"
|
|
];
|
|
trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
];
|
|
};
|
|
gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
};
|
|
}
|