userPackages.nix 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. self: super:
  2. let
  3. nixpkgs-unstable = import <unstable> {};
  4. in
  5. {
  6. userPackages = super.userPackages or {
  7. inherit (self)
  8. # cli
  9. vimHugeX
  10. neovim
  11. neovim-remote
  12. git
  13. git-lfs
  14. feh
  15. ripgrep
  16. jq
  17. yq
  18. tree
  19. fzf
  20. dnsutils
  21. httpie
  22. htop
  23. bc
  24. pv
  25. caddy
  26. openssl
  27. pwgen
  28. gnupg
  29. whois
  30. traceroute
  31. gnumake
  32. tig
  33. gettext
  34. unzip
  35. zip
  36. shellcheck
  37. any-nix-shell
  38. wl-clipboard
  39. # apps
  40. pcmanfm
  41. lxappearance
  42. pavucontrol
  43. pamixer
  44. gnumeric
  45. mpv
  46. # work
  47. insomnia
  48. awscli
  49. docker
  50. docker-machine
  51. docker-machine-kvm
  52. docker-machine-kvm2
  53. docker_compose
  54. amazon-ecr-credential-helper
  55. virtmanager
  56. tmux-cssh
  57. ;
  58. qterminal = self.lxqt.qterminal;
  59. mps-youtube = self.python36Packages.mps-youtube;
  60. keepassxc = nixpkgs-unstable.keepassxc;
  61. op = nixpkgs-unstable._1password;
  62. minikube = nixpkgs-unstable.minikube;
  63. deadbeef = nixpkgs-unstable.deadbeef;
  64. cfn-lint = nixpkgs-unstable.python27.pkgs.callPackage ./packages/cfn-lint.nix {};
  65. cfn_flip = nixpkgs-unstable.python27.pkgs.callPackage ./packages/cfn_flip.nix {};
  66. nix-rebuild = super.writeScriptBin "nix-rebuild" ''
  67. #!${super.stdenv.shell}
  68. if ! command -v nix-env &>/dev/null; then
  69. echo "warning: nix-env was not found in PATH, add nix to userPackages" >&2
  70. PATH=${self.nix}/bin:$PATH
  71. fi
  72. exec nix-env -f '<nixpkgs>' -r -iA userPackages "$@"
  73. '';
  74. cssh = super.writeScriptBin "cssh" ''
  75. #!${super.stdenv.shell}
  76. exec ${self.tmux-cssh}/bin/tmux-cssh $@
  77. '';
  78. };
  79. }