# MODEL:      	Nvidia snc302eeh Desktop Computer (680iLT)
# BIOS:       	Phoenix Technologies, LTD BIOS 6.00 PG 01/22/2008
# MOTHERBOARD:	Nvidia Motherboard snc302eeh
# CPU:        	Intel Pentium D 3.73GHz (4) @ 3.199GHz
# GPU:        	AMD Turks PRO [Radeon HD 6570/7570/8550 / R5 230]
# RAM:        	RAM Module(s) 8GB DDR3
# HARD DRIVE: 	HGST HTS541010B7E610 1TB
# HARD DRIVE: 	HGST HTS725050A7E630 500GB
# HARD DRIVE: 	WD1600JS-00NCB1 160GB
# NETWORK:
# BLUETOOTH:
#--------------------------------------------------------------------------------------------------------------------------

{ config, pkgs, ... }:

{
  imports = [

    # Select your kernel
    #---------------------------------------------
 #    ../../../core/modules/system-tweaks/kernel-upgrades/latest-standard.nix  # Latest default NixOS kernel
 #    ../../../core/modules/system-tweaks/kernel-upgrades/stable-LTS.nix       # Sometimes older pc's perform better on LTS kernel
 #    ../../../core/modules/system-tweaks/kernel-upgrades/zen.nix              # Zen kernel
    ../../../core/modules/system-tweaks/kernel-upgrades/xanmod.nix           # Xanmod kernel

    # Custom System tweaks
    #---------------------------------------------
    ../../../core/modules/system-tweaks/storage-tweaks/HHD-tweak.nix       # SSD read & write tweaks
  #   ../../../core/modules/system-tweaks/zram/zram-8GB-SYSTEM.nix           # Zram tweak for 8GB
    ../../../core/modules/system-tweaks/kernel-tweaks/8GB-SYSTEM.nix       # Kernel tweak for 8GB

    # Main Core
    #---------------------------------------------
    # ../../../core/programs/git/gitfs.nix
    ../../../core/680iLT-default.nix
    ../../../core/boot/grub.nix         # Use GRUB Bootloader
    ../../../core/gpu/amd/opengl
    ../../../core/modules
    ./680iLT-hardware-configuration.nix

    # Users && user settings
    # ---------------------------------------------
    ../../../user

  ];
  #---------------------------------------------------------------------
  # Enable automatic login for the user.
  #---------------------------------------------------------------------
  services.xserver.displayManager.autoLogin.enable = true;
  services.xserver.displayManager.autoLogin.user = "brian";

  networking.hostName = "680iLT"; # Define your hostname.


  # -----------------------------------------------------------------
  #   Enable networking
  # -----------------------------------------------------------------
#  networking.networkmanager.enable = true;

  #---------------------------------------------------------------------
  #   Automatic system upgrades, automatically reboot after an upgrade if
  #   necessary
  #---------------------------------------------------------------------
  # system.autoUpgrade.allowReboot = true;  # Very annoying .
  system.autoUpgrade.enable = true;
  system.copySystemConfiguration = true;
  system.stateVersion = "23.11";
  systemd.extraConfig = "DefaultTimeoutStopSec=10s";

}
