(laptop) Gen 16: broke up laptop default.nix into modules, added git config

This commit is contained in:
pagedmov
2024-10-14 02:39:01 -04:00
parent f12238962e
commit 395fa72cbf
9 changed files with 126 additions and 97 deletions

25
hosts/laptop/settings.nix Normal file
View File

@@ -0,0 +1,25 @@
{ ... }:
{
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";
}