43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
{inputs, ...}: {
|
|
nixpkgs = {
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
overlays = [inputs.prismlauncher.overlays.default];
|
|
};
|
|
|
|
nh = {
|
|
enable = true;
|
|
clean = {
|
|
enable = true;
|
|
dates = "weekly";
|
|
extraArgs = "--keep-since 3d --keep 5";
|
|
};
|
|
};
|
|
|
|
nix = {
|
|
settings = {
|
|
extra-experimental-features = ["flakes" "nix-command"];
|
|
warn-dirty = false;
|
|
auto-optimise-store = true;
|
|
builders-use-substitutes = true;
|
|
keep-outputs = true;
|
|
allowed-users = ["@wheel"];
|
|
trusted-users = ["root" "@wheel"];
|
|
substituters = [
|
|
"https://hyprland.cachix.org"
|
|
"https://cache.nixos.org"
|
|
"https://cache.garnix.io"
|
|
"https://nix-gaming.cachix.org"
|
|
"https://anyrun.cachix.org"
|
|
];
|
|
trusted-public-keys = [
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
|
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
|
];
|
|
};
|
|
};
|
|
}
|