2020-05-26 07:35:49 +00:00
|
|
|
{
|
2021-10-14 09:04:14 +00:00
|
|
|
packageOverrides = pkgs: with pkgs; rec {
|
|
|
|
# export PATH=$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
# export MANPATH=$HOME/.nix-profile/share/man:/nix/var/nix/profiles/default/share/man:/usr/share/man
|
|
|
|
#'';
|
|
|
|
work = pkgs.buildEnv {
|
|
|
|
name = "workpackages";
|
|
|
|
paths = [
|
|
|
|
basePackages
|
|
|
|
adminPackages
|
|
|
|
];
|
|
|
|
pathsToLink = [ "/share/man" "/share/doc" "/bin" "/etc" ];
|
|
|
|
extraOutputsToInstall = [ "man" "doc" ];
|
|
|
|
};
|
|
|
|
adminPackages = pkgs.buildEnv {
|
|
|
|
name = "adminPackages";
|
2020-05-26 07:35:49 +00:00
|
|
|
paths = [
|
2021-10-14 09:04:14 +00:00
|
|
|
awscli2
|
|
|
|
byobu
|
|
|
|
cmake
|
|
|
|
cdrkit
|
|
|
|
envdir
|
|
|
|
figlet
|
|
|
|
httpie
|
|
|
|
jq
|
|
|
|
libvirt
|
|
|
|
llvm
|
|
|
|
mosh
|
|
|
|
mutt
|
|
|
|
nmap
|
|
|
|
openssl
|
|
|
|
pv
|
|
|
|
rsync
|
|
|
|
runit
|
|
|
|
terraform_0_13
|
|
|
|
tmux
|
|
|
|
wget
|
|
|
|
xz
|
|
|
|
];
|
|
|
|
pathsToLink = [ "/share/man" "/share/doc" "/bin" "/etc" ];
|
|
|
|
extraOutputsToInstall = [ "man" "doc" ];
|
|
|
|
};
|
|
|
|
basePackages = pkgs.buildEnv {
|
|
|
|
name = "my-packages";
|
|
|
|
paths = [
|
|
|
|
adminPackages
|
|
|
|
aria2
|
|
|
|
byobu
|
|
|
|
cmus
|
|
|
|
coreutils-prefixed
|
|
|
|
envdir
|
2020-05-26 07:35:49 +00:00
|
|
|
ffmpeg
|
2020-10-26 23:31:15 +00:00
|
|
|
gnupg
|
2020-05-26 07:07:46 +00:00
|
|
|
go
|
2021-10-14 09:04:14 +00:00
|
|
|
httpie
|
2020-05-26 07:35:49 +00:00
|
|
|
jq
|
2021-10-14 09:04:14 +00:00
|
|
|
neofetch
|
|
|
|
neovim
|
2020-10-26 23:31:15 +00:00
|
|
|
nmap
|
2021-10-14 09:04:14 +00:00
|
|
|
nodejs
|
|
|
|
openssl
|
2020-10-26 23:31:15 +00:00
|
|
|
par2cmdline
|
|
|
|
pv
|
2020-05-26 07:07:46 +00:00
|
|
|
pwgen
|
2020-10-26 23:31:15 +00:00
|
|
|
rsync
|
2021-10-14 09:04:14 +00:00
|
|
|
runit
|
2020-05-26 07:07:46 +00:00
|
|
|
tmux
|
2020-10-26 23:31:15 +00:00
|
|
|
tor
|
2020-05-26 07:07:46 +00:00
|
|
|
vim
|
2020-10-26 23:31:15 +00:00
|
|
|
vimpager
|
2020-05-26 07:35:49 +00:00
|
|
|
weechat
|
2020-05-26 07:07:46 +00:00
|
|
|
wget
|
2020-10-26 23:31:15 +00:00
|
|
|
xz
|
2021-10-14 09:04:14 +00:00
|
|
|
yarn
|
2020-07-08 07:26:10 +00:00
|
|
|
zsh
|
2021-10-14 09:04:14 +00:00
|
|
|
];
|
|
|
|
pathsToLink = [ "/share/man" "/share/doc" "/bin" "/etc" ];
|
|
|
|
extraOutputsToInstall = [ "man" "doc" ];
|
2020-05-26 07:35:49 +00:00
|
|
|
};
|
2020-05-26 07:07:46 +00:00
|
|
|
};
|
|
|
|
}
|
2021-10-14 09:04:14 +00:00
|
|
|
|