38 lines
1.0 KiB
Nix
Raw Normal View History

2023-11-04 02:28:27 +01:00
{ 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; };
};
};
nixpkgs.overlays = import ../../../../overlays { inherit pkgs; };
2023-11-04 02:28:27 +01:00
nix = {
package = pkgs.nixFlakes;
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;
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-11-17 03:29:35 +01:00
system.stateVersion = "23.11";
2023-11-04 02:28:27 +01:00
}