You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nixos-template-base/environment.nix

53 lines
1.2 KiB
Nix

9 years ago
{ config, pkgs, ... }:
{
# Nombre de process d'installation en parrallèle effectués par Nix
nix.buildCores = 0;
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "16.03";
9 years ago
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment = {
systemPackages = with pkgs; [
bind # utilisé pour les utilitaires comme dig
byobu
9 years ago
exfat # Pour monter les FAT avec Fuse
git gitAndTools.gitSVN gitAndTools.tig
9 years ago
gnumake
9 years ago
gnupg
htop
ncdu
nmap
mtr
p7zip
parted
pciutils
9 years ago
python34Packages.glances
pwgen
tmux
tree
usbutils
9 years ago
(import ./vim.nix)
wget
which
9 years ago
];
shellAliases = {
byobu = "byobu-tmux";
tree = "tree -C";
tree1 = "tree -d -L 1";
tree2 = "tree -d -L 2";
tree3 = "tree -d -L 3";
grep = "grep --color=auto";
vi = "vim";
};
etc.gitconfig.text = builtins.readFile ./gitconfig;
};
programs.bash = {
enableCompletion = true;
promptInit = builtins.readFile ./bash-prompt.sh;
interactiveShellInit = builtins.readFile ./bash-interactive-init.sh;
};
}