106 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						||
  pkgs,
 | 
						||
  username,
 | 
						||
  ...
 | 
						||
}:
 | 
						||
{
 | 
						||
  # ============================= User related =============================
 | 
						||
 | 
						||
  # Define a user account. Don't forget to set a password with ‘passwd’.
 | 
						||
  users.users.${username} = {
 | 
						||
    isNormalUser = true;
 | 
						||
    description = username;
 | 
						||
    extraGroups = [
 | 
						||
      "networkmanager"
 | 
						||
      "wheel"
 | 
						||
      "podman"
 | 
						||
    ];
 | 
						||
  };
 | 
						||
 | 
						||
  programs.steam.enable = true;
 | 
						||
  programs.dconf.enable = true;
 | 
						||
 | 
						||
  # List packages installed in system profile. To search, run:
 | 
						||
  # $ nix search wget
 | 
						||
  environment.systemPackages = with pkgs; [
 | 
						||
    # Bare minimum
 | 
						||
    vim
 | 
						||
    neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
 | 
						||
    wget
 | 
						||
    git
 | 
						||
    cmatrix
 | 
						||
    tdf
 | 
						||
    figlet
 | 
						||
    tty-clock
 | 
						||
    lolcat
 | 
						||
    # System tools
 | 
						||
    sysstat
 | 
						||
    lm_sensors # for `sensors` command
 | 
						||
    ethtool
 | 
						||
    pciutils # lspci
 | 
						||
    usbutils # lsusb
 | 
						||
    lshw
 | 
						||
    nvme-cli
 | 
						||
    smartmontools
 | 
						||
    bluez
 | 
						||
 | 
						||
    # Graphics
 | 
						||
    libGL
 | 
						||
    glxinfo
 | 
						||
 | 
						||
    # Rizz
 | 
						||
    fastfetch
 | 
						||
    cpufetch
 | 
						||
    hyfetch
 | 
						||
    ramfetch
 | 
						||
    neofetch
 | 
						||
    ghfetch
 | 
						||
    libnotify
 | 
						||
 | 
						||
    # Terminal
 | 
						||
    yazi # file manager
 | 
						||
    jq # JSON Parser
 | 
						||
    yq-go # YAML Parser
 | 
						||
    glow # Markdown Reader
 | 
						||
    btop # system monitor
 | 
						||
    iotop # iomonitor
 | 
						||
    iftop # network monitor
 | 
						||
    iperf3 # network tester
 | 
						||
    nmap # network discovery
 | 
						||
    eza # ls replacement
 | 
						||
    curl
 | 
						||
    dnsutils
 | 
						||
    ldns
 | 
						||
    file
 | 
						||
    which
 | 
						||
    tree
 | 
						||
    gnused
 | 
						||
    gnutar
 | 
						||
    gawk
 | 
						||
    zstd
 | 
						||
    gnupg
 | 
						||
    fzf
 | 
						||
 | 
						||
    # nix related
 | 
						||
    nix-index
 | 
						||
    nix-tree
 | 
						||
    nix-health
 | 
						||
 | 
						||
    # Archives
 | 
						||
    zip
 | 
						||
    unzip
 | 
						||
    p7zip
 | 
						||
    xz
 | 
						||
 | 
						||
    postman
 | 
						||
    #teamspeak6-client
 | 
						||
  ];
 | 
						||
 | 
						||
  security.polkit.enable = true;
 | 
						||
  security.rtkit.enable = true;
 | 
						||
  environment.sessionVariables = {
 | 
						||
    NIXOS_OZONE_WL = "1";
 | 
						||
  };
 | 
						||
  programs.ssh.startAgent = true;
 | 
						||
}
 |