2022-04-10 11:54:58 +02:00
|
|
|
{pkgs, ...}: {
|
2021-04-16 21:33:48 +02:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
2021-02-19 21:54:30 +01:00
|
|
|
nix = {
|
2021-11-19 11:45:36 +01:00
|
|
|
package = pkgs.nixStable;
|
2021-02-19 21:54:30 +01:00
|
|
|
|
2022-09-09 11:19:12 +02:00
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "weekly";
|
|
|
|
options = "--delete-older-than 60d";
|
|
|
|
persistent = true;
|
|
|
|
};
|
|
|
|
|
2022-01-30 15:59:08 +01:00
|
|
|
settings = {
|
2022-04-10 11:54:58 +02:00
|
|
|
experimental-features = ["nix-command" "flakes"];
|
|
|
|
trusted-users = ["@wheel"];
|
2022-01-30 15:59:08 +01:00
|
|
|
substituters = [
|
|
|
|
"https://alarsyo.cachix.org"
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"alarsyo.cachix.org-1:A6BmcaJek5+ZDWWv3fPteHhPm6U8liS9CbDbmegPfmk="
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
];
|
|
|
|
};
|
2021-02-19 21:54:30 +01:00
|
|
|
};
|
|
|
|
}
|