Move small command-line tools to basic-tools.nix.
This commit is contained in:
		
							parent
							
								
									399a6ce639
								
							
						
					
					
						commit
						206c7f4d50
					
				
							
								
								
									
										46
									
								
								basic-tools.nix
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										46
									
								
								basic-tools.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,46 @@
 | 
			
		||||
{ config, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  environment.systemPackages = with pkgs.haskellPackages; with pkgs; [
 | 
			
		||||
    stdenv
 | 
			
		||||
    nox
 | 
			
		||||
    wget
 | 
			
		||||
    vim_configurable
 | 
			
		||||
    zsh
 | 
			
		||||
    gitFull gitAndTools.hub tig
 | 
			
		||||
    gnumake
 | 
			
		||||
    gmpc
 | 
			
		||||
    m4
 | 
			
		||||
    screen
 | 
			
		||||
    psmisc
 | 
			
		||||
    pkgs.parallel
 | 
			
		||||
    gnupg
 | 
			
		||||
    pwgen
 | 
			
		||||
    gcc
 | 
			
		||||
    silver-searcher
 | 
			
		||||
    tree
 | 
			
		||||
    python
 | 
			
		||||
    python34
 | 
			
		||||
    python34Packages.ipython
 | 
			
		||||
    gdb
 | 
			
		||||
    mpv
 | 
			
		||||
    bind nmap tcpdump telnet
 | 
			
		||||
    dstat
 | 
			
		||||
    which
 | 
			
		||||
    zip
 | 
			
		||||
    file
 | 
			
		||||
    unzip
 | 
			
		||||
    elinks
 | 
			
		||||
    ctags
 | 
			
		||||
    nix-prefetch-scripts
 | 
			
		||||
    nix-repl
 | 
			
		||||
    jq
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  environment.variables.EDITOR = "${pkgs.vim}/bin/vim";
 | 
			
		||||
 | 
			
		||||
  programs.zsh = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    promptInit = "";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										39
									
								
								common.nix
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										39
									
								
								common.nix
									
									
									
									
									
								
							@ -5,6 +5,7 @@
 | 
			
		||||
    [
 | 
			
		||||
      /etc/nixos/hardware-configuration.nix
 | 
			
		||||
      ./i3.nix
 | 
			
		||||
      ./basic-tools.nix
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
  boot.kernelPackages = pkgs.linuxPackages_latest;
 | 
			
		||||
@ -30,22 +31,13 @@
 | 
			
		||||
  # };
 | 
			
		||||
 | 
			
		||||
  environment.systemPackages = with pkgs.haskellPackages; with pkgs; [
 | 
			
		||||
    stdenv
 | 
			
		||||
    nox
 | 
			
		||||
    wget
 | 
			
		||||
    vim_configurable
 | 
			
		||||
    zsh
 | 
			
		||||
    gitFull gitAndTools.hub tig gitg
 | 
			
		||||
    gnumake
 | 
			
		||||
    gitg
 | 
			
		||||
    gmpc
 | 
			
		||||
    m4
 | 
			
		||||
    subversion
 | 
			
		||||
    openjdk8
 | 
			
		||||
    sbt scala
 | 
			
		||||
    idea.idea-community
 | 
			
		||||
    screen
 | 
			
		||||
    psmisc
 | 
			
		||||
    pkgs.parallel
 | 
			
		||||
    firefoxWrapper
 | 
			
		||||
    chromium
 | 
			
		||||
    thunderbird
 | 
			
		||||
@ -54,32 +46,15 @@
 | 
			
		||||
    viewnior
 | 
			
		||||
    gnupg
 | 
			
		||||
    pass xclip pwgen
 | 
			
		||||
    gcc
 | 
			
		||||
    remmina
 | 
			
		||||
    silver-searcher
 | 
			
		||||
    tree
 | 
			
		||||
    python
 | 
			
		||||
    python34
 | 
			
		||||
    python34Packages.ipython
 | 
			
		||||
    ledger
 | 
			
		||||
    hledger
 | 
			
		||||
    hledger-diff
 | 
			
		||||
    cmake
 | 
			
		||||
    vimPlugins.YouCompleteMe
 | 
			
		||||
    gdb
 | 
			
		||||
    mpv
 | 
			
		||||
    bind nmap wireshark-gtk tcpdump telnet
 | 
			
		||||
    dstat
 | 
			
		||||
    which
 | 
			
		||||
    zip
 | 
			
		||||
    file
 | 
			
		||||
    unzip
 | 
			
		||||
    elinks
 | 
			
		||||
    ctags
 | 
			
		||||
    wireshark-gtk
 | 
			
		||||
    mutt
 | 
			
		||||
    nix-prefetch-scripts
 | 
			
		||||
    nix-repl
 | 
			
		||||
    jq
 | 
			
		||||
 | 
			
		||||
    texLiveFull biber
 | 
			
		||||
    androidsdk_4_4
 | 
			
		||||
@ -119,8 +94,6 @@
 | 
			
		||||
 | 
			
		||||
    coq_8_5
 | 
			
		||||
    emacsPackages.proofgeneral_4_3_pre
 | 
			
		||||
 | 
			
		||||
    nix-repl
 | 
			
		||||
  ] ++ (with aspellDicts; [ en de fr nl ]);
 | 
			
		||||
 | 
			
		||||
  nixpkgs.config.packageOverrides = pkgs: rec {
 | 
			
		||||
@ -128,8 +101,6 @@
 | 
			
		||||
 | 
			
		||||
  nixpkgs.config.allowTexliveBuilds = true;
 | 
			
		||||
 | 
			
		||||
  environment.variables.EDITOR = "${pkgs.vim}/bin/vim";
 | 
			
		||||
 | 
			
		||||
  # Enable the OpenSSH daemon.
 | 
			
		||||
  services.openssh = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
@ -163,10 +134,6 @@
 | 
			
		||||
    options = "noauto,x-systemd.automount,credentials=/etc/smbcredentials/aruanus";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  programs.zsh = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    promptInit = "";
 | 
			
		||||
  };
 | 
			
		||||
  users.extraUsers.gebner = {
 | 
			
		||||
    isNormalUser = true;
 | 
			
		||||
    extraGroups = [ "wheel" "networkmanager" ];
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user