{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; boot.loader.systemd-boot.enable = true; networking.hostName = "nixos"; time.timeZone = "Europe/Berlin"; networking.networkmanager.enable = true; i18n.defaultLocale = "en_US.UTF-8"; users.users.tom = { isNormalUser = true; extraGroups = [ "wheel" "networkmanager"]; shell = pkgs.zsh; }; hardware.pulseaudio.enable = true; services.xserver.enable = true; services.xserver.autorun = false; services.xserver.displayManager.startx.enable = true; services.xserver.libinput.enable = true; environment.variables.EDITOR = "vim"; environment.systemPackages = with pkgs; [ acpi curl dmenu feh firefox git htop lm_sensors mpc_cli ncdu ncmpcpp nixfmt pass pinentry-curses ranger tmux vim wget ]; programs.gnupg.agent = { enable = true; enableSSHSupport = true; pinentryFlavor = null; }; programs.zsh.enable = true; programs.zsh.autosuggestions.enable = true; programs.zsh.syntaxHighlighting.enable = true; fonts.fonts = with pkgs; [ hermit ]; system.stateVersion = "23.05"; swapDevices = [ { device = "/swap"; size = 4096; } ]; }