Move small command-line tools to basic-tools.nix.

This commit is contained in:
Gabriel Ebner 2015-09-14 10:39:15 +02:00
parent 399a6ce639
commit 206c7f4d50
2 changed files with 49 additions and 36 deletions

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 = "";
};
}

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