Configuration for my NixOS based systems and Home Manager
1{ ... }:
2{
3 # Set your time zone.
4 time.timeZone = "America/Chicago";
5
6 # Select internationalisation properties.
7 i18n.defaultLocale = "en_US.UTF-8";
8 # console = {
9 # font = "Lat2-Terminus16";
10 # keyMap = "us";
11 # useXkbConfig = true; # use xkb.options in tty.
12 # };
13
14 # Automatic doc cache generation
15 documentation.man.generateCaches = true;
16
17 # Automatic system upgrades
18 system.autoUpgrade = {
19 enable = true;
20 dates = "09:00";
21 randomizedDelaySec = "45min";
22 };
23
24 # Automatic Garbage Collection
25 nix.gc.automatic = true;
26 nix.gc.options = "--delete-older-than 8d";
27 nix.settings.trusted-users = [ "@wheel" ];
28
29 # I don't care that much about free vs unfree
30 nixpkgs.config.allowUnfree = true;
31}