{ config, pkgs, inputs, ... }: { # Bootloader and EFI settings boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; # Hostname and networking networking.hostName = "tongfang"; networking.networkmanager.enable = true; # Time and locale settings time.timeZone = "Europe/Amsterdam"; i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "nl_NL.UTF-8"; LC_IDENTIFICATION = "nl_NL.UTF-8"; LC_MEASUREMENT = "nl_NL.UTF-8"; LC_MONETARY = "nl_NL.UTF-8"; LC_NAME = "nl_NL.UTF-8"; LC_NUMERIC = "nl_NL.UTF-8"; LC_PAPER = "nl_NL.UTF-8"; LC_TELEPHONE = "nl_NL.UTF-8"; LC_TIME = "en_US.UTF-8"; }; # Fonts configuration fonts = { enableDefaultPackages = true; packages = with pkgs; [ jetbrains-mono nerdfonts noto-fonts noto-fonts-emoji ]; }; # Optimization & Garbage Collection # Optimize Nix-Store During Rebuilds # NOTE: Optimizes during builds - results in slower builds nix.settings.auto-optimise-store = true; # Purge Unused Nix-Store Entries nix.gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 14d"; }; # Enable Nix Flakes and experimental features nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; # System state version system.stateVersion = "24.11"; }