26 lines
480 B
Nix
26 lines
480 B
Nix
{ ... }:
|
|
|
|
{
|
|
system.stateVersion = "24.05";
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix = {
|
|
settings = {
|
|
auto-optimise-store = true;
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
substituters = [ "https://nix-gaming.cachix.org" ];
|
|
};
|
|
gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
};
|
|
|
|
|
|
time.timeZone = "America/New_York";
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = "performance";
|
|
}
|