nixos-config/basic-tools.nix

62 lines
1.1 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs.haskellPackages; with pkgs; [
stdenv
nox
wget
2016-01-06 08:49:40 +00:00
neovim
zsh
gitFull gitAndTools.hub tig
gnumake
m4
screen
psmisc
pkgs.parallel
gnupg
pwgen
gcc
silver-searcher
2016-01-05 08:27:07 +00:00
fzf
tree
python
python34
python34Packages.ipython
gdb
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 = "";
};
2015-09-20 08:45:13 +00:00
programs.bash = {
enableCompletion = true;
};
2016-02-17 06:38:13 +00:00
system.replaceRuntimeDependencies = with pkgs.lib;
[ {
original = pkgs.glibc;
replacement = pkgs.stdenv.lib.overrideDerivation pkgs.glibc (oldAttr: { patches = oldAttr.patches ++
[ ( pkgs.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/libraries/glibc/cve-2015-7547.patch";
sha256 = "0awpc4rp2x27rjpj83ps0rclmn73hsgfv2xxk18k82w4hdxqpp5r";
} ) ];
} );
} ];
}