NixOS-Config/modules/system/default.nix

39 lines
764 B
Nix
Raw Normal View History

2024-10-15 02:40:43 -04:00
{ config, pkgs, ... }:
{
2024-10-09 03:36:08 -04:00
nix = {
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 1w";
};
};
2024-10-15 02:40:43 -04:00
nixpkgs.config.allowUnfree = true;
time.timeZone = "America/Toronto";
programs = {
zsh.enable = true;
nano.enable = false;
};
documentation = {
nixos.enable = false;
info.enable = false;
};
console = {
font = "${pkgs.terminus_font}/share/consolefonts/ter-u22n.psf.gz";
packages = with pkgs; [ terminus_font ];
};
hardware.enableRedistributableFirmware = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
}