Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 61ba8a8c85365ac8effbb1690d9eddbce9d11d3b 67 lines 2.3 kB view raw
1# Edit this configuration file to define what should be installed on 2## your system. Help is available in the configuration.nix(5) man page, on 3# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). 4 5{ ... }: 6 7{ 8 imports = 9 [ 10 # Include the results of the hardware scan. 11 ./hardware-configuration.nix 12 ./boot.nix 13 ./networking.nix 14 #./gui.nix 15 ./users.nix 16 ./packages.nix 17 ./services.nix 18 ]; 19 # Set your time zone. 20 time.timeZone = "America/Chicago"; 21 22 # Select internationalisation properties. 23 i18n.defaultLocale = "en_US.UTF-8"; 24 # console = { 25 # font = "Lat2-Terminus16"; 26 # keyMap = "us"; 27 # useXkbConfig = true; # use xkb.options in tty. 28 # }; 29 30 # Copy the NixOS configuration file and link it from the resulting system 31 # (/run/current-system/configuration.nix). This is useful in case you 32 # accidentally delete configuration.nix. 33 #system.copySystemConfiguration = true; 34 35 # Automatic doc cache generation 36 documentation.man.generateCaches = true; 37 38 # Automatic system upgrades 39 system.autoUpgrade = { 40 enable = true; 41 dates = "09:00"; 42 randomizedDelaySec = "45min"; 43 }; 44 45 # Automatic Garbage Collection 46 nix.gc.automatic = true; 47 nix.gc.options = "--delete-older-than 8d"; 48 49 # This option defines the first version of NixOS you have installed on this particular machine, 50 # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. 51 # 52 # Most users should NEVER change this value after the initial install, for any reason, 53 # even if you've upgraded your system to a new NixOS release. 54 # 55 # This value does NOT affect the Nixpkgs version your packages and OS are pulled from, 56 # so changing it will NOT upgrade your system. 57 # 58 # This value being lower than the current NixOS release does NOT mean your system is 59 # out of date, out of support, or vulnerable. 60 # 61 # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, 62 # and migrated your data accordingly. 63 # 64 # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . 65 system.stateVersion = "23.11"; # Did you read the comment? 66 67}