2023-10-10 01:13:35 -04:00
|
|
|
{inputs, ...}: {
|
2023-04-23 17:45:37 -04:00
|
|
|
nixpkgs = {
|
2023-04-22 03:21:08 -04:00
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
};
|
2023-10-10 01:13:35 -04:00
|
|
|
overlays = [inputs.prismlauncher.overlays.default];
|
2023-04-22 03:21:08 -04:00
|
|
|
};
|
|
|
|
|
2023-09-24 17:17:59 -04:00
|
|
|
nh = {
|
|
|
|
enable = true;
|
2023-09-24 22:59:00 -04:00
|
|
|
clean = {
|
|
|
|
enable = true;
|
|
|
|
dates = "weekly";
|
|
|
|
extraArgs = "--keep-since 3d --keep 5";
|
|
|
|
};
|
2023-09-24 17:17:59 -04:00
|
|
|
};
|
|
|
|
|
2023-04-23 17:45:37 -04:00
|
|
|
nix = {
|
|
|
|
settings = {
|
2023-05-14 10:15:47 -04:00
|
|
|
extra-experimental-features = ["flakes" "nix-command"];
|
2023-06-19 06:33:46 -04:00
|
|
|
warn-dirty = false;
|
2023-04-22 03:21:08 -04:00
|
|
|
auto-optimise-store = true;
|
|
|
|
builders-use-substitutes = true;
|
|
|
|
keep-outputs = true;
|
2023-05-14 10:15:47 -04:00
|
|
|
allowed-users = ["@wheel"];
|
2023-04-26 21:21:46 -04:00
|
|
|
trusted-users = ["root" "@wheel"];
|
2023-04-22 03:21:08 -04:00
|
|
|
substituters = [
|
2023-04-23 17:45:37 -04:00
|
|
|
"https://hyprland.cachix.org"
|
|
|
|
"https://cache.nixos.org"
|
2023-06-06 05:09:22 -04:00
|
|
|
"https://jakestanger.cachix.org"
|
2023-10-10 01:13:35 -04:00
|
|
|
"https://cache.garnix.io"
|
2023-11-15 02:00:50 -05:00
|
|
|
"https://nix-gaming.cachix.org"
|
2023-04-22 03:21:08 -04:00
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
2023-04-23 17:45:37 -04:00
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
2023-06-06 05:09:22 -04:00
|
|
|
"jakestanger.cachix.org-1:VWJE7AWNe5/KOEvCQRxoE8UsI2Xs2nHULJ7TEjYm7mM="
|
2023-10-10 01:13:35 -04:00
|
|
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
2023-11-15 02:00:50 -05:00
|
|
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
2023-04-22 03:21:08 -04:00
|
|
|
];
|
2023-04-23 17:45:37 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|