{ config, pkgs, ... }: { # 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 git gitAndTools.tig gnumake gnupg htop ncdu nmap mtr p7zip parted python34Packages.glances pwgen tmux tree (import ./vim.nix) wget which ]; 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; }; }