{ config, pkgs, specialArgs, ... }: let modules-dir = ./modules; in { imports = [ ./hosts/${specialArgs.hostname}/hardware-configuration.nix "${modules-dir}/nh.nix" "${modules-dir}/home-manager.nix" ]; networking.hostName = specialArgs.hostname; nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.gc = { automatic = true; persistent = true; dates = "Sun 05:00"; }; boot.loader.efi.canTouchEfiVariables = true; networking.networkmanager.enable = true; time.timeZone = "Europe/London"; i18n.defaultLocale = "en_GB.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "en_GB.UTF-8"; LC_IDENTIFICATION = "en_GB.UTF-8"; LC_MEASUREMENT = "en_GB.UTF-8"; LC_MONETARY = "en_GB.UTF-8"; LC_NAME = "en_GB.UTF-8"; LC_NUMERIC = "en_GB.UTF-8"; LC_PAPER = "en_GB.UTF-8"; LC_TELEPHONE = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8"; }; services.xserver.xkb = { layout = "gb"; variant = ""; }; console.keyMap = "uk"; users.users."grey" = { isNormalUser = true; description = "grey"; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; []; }; nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ git fzf jq busybox ethtool wayland-utils mesa-demos vulkan-tools ]; programs.nano = { enable = true; nanorc = '' set nowrap set tabstospaces set tabsize 2 ''; }; hardware.bluetooth = { enable = true; powerOnBoot = false; }; programs.gnupg.agent = { enable = true; }; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = specialArgs.stateVersion; }