42 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2024-09-23 19:03:47 +02:00
{ inputs, pkgs, ... }: {
2023-11-16 23:06:28 +01:00
nixpkgs.config = {
permittedInsecurePackages = [ ];
allowUnfree = true;
2024-01-19 11:58:52 +01:00
android_sdk.accept_license = true;
2023-11-16 23:06:28 +01:00
packageOverrides = pkgs: rec {
custom = import ../../../../packages { inherit pkgs; };
};
};
2024-09-23 19:03:47 +02:00
nixpkgs.overlays = import ../../../../overlays { inherit inputs pkgs; };
2023-11-04 02:28:27 +01:00
nix = {
2024-10-28 20:13:25 +01:00
package = pkgs.nixVersions.stable;
2023-11-04 02:28:27 +01:00
extraOptions = ''
experimental-features = nix-command flakes
warn-dirty = false
keep-outputs = true
keep-derivations = true
'';
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
settings = {
auto-optimise-store = true;
builders-use-substitutes = true;
2024-04-13 09:32:22 +02:00
substituters = [
"https://hyprland.cachix.org"
"https://cache.nixos.org"
"https://helcel.cachix.org"
];
2023-11-04 02:28:27 +01:00
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
2024-04-13 09:32:22 +02:00
"helcel.cachix.org-1:95s8D+N2xIHwzmkuu7jMUp9t3rtN4EimafR73jO7GLg="
2023-11-04 02:28:27 +01:00
];
};
};
2024-10-28 19:55:13 +01:00
system.stateVersion = "24.11";
2023-11-04 02:28:27 +01:00
}