2023-04-22 03:21:08 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
permittedInsecurePackages = [
|
|
|
|
"qtwebkit-5.212.0-alpha4"
|
|
|
|
"electron-12.2.3"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
package = pkgs.nixFlakes;
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
warn-dirty = false
|
|
|
|
'';
|
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "weekly";
|
|
|
|
options = "--delete-older-than 7d";
|
|
|
|
};
|
|
|
|
settings = {
|
|
|
|
auto-optimise-store = true;
|
|
|
|
builders-use-substitutes = true;
|
|
|
|
keep-derivations = true;
|
|
|
|
keep-outputs = true;
|
|
|
|
substituters = [
|
|
|
|
"https://hyprland.cachix.org"
|
|
|
|
"https://cache.nixos.org"
|
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
|
|
];
|
|
|
|
};
|
2023-04-22 15:14:43 -04:00
|
|
|
};
|
2023-04-22 03:21:08 -04:00
|
|
|
}
|