userPackages.nix 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. # apps
  39. pcmanfm
  40. lxappearance
  41. pavucontrol
  42. pamixer
  43. gnumeric
  44. mpv
  45. # work
  46. insomnia
  47. awscli
  48. docker
  49. docker_compose
  50. amazon-ecr-credential-helper
  51. virtmanager
  52. tmux-cssh
  53. ;
  54. xrdb = self.xorg.xrdb;
  55. qterminal = self.lxqt.qterminal;
  56. mps-youtube = self.python36Packages.mps-youtube;
  57. keepassxc = nixpkgs-unstable.keepassxc.override { qtbase = self.qt5.qtbase; };
  58. op = nixpkgs-unstable._1password;
  59. deadbeef = nixpkgs-unstable.deadbeef;
  60. cfn-lint = nixpkgs-unstable.python27.pkgs.callPackage ./packages/cfn-lint.nix {};
  61. cfn_flip = nixpkgs-unstable.python27.pkgs.callPackage ./packages/cfn_flip.nix {};
  62. wl-clipboard = nixpkgs-unstable.callPackage ./packages/wl-clipboard.nix {};
  63. nix-rebuild = super.writeScriptBin "nix-rebuild" ''
  64. #!${super.stdenv.shell}
  65. if ! command -v nix-env &>/dev/null; then
  66. echo "warning: nix-env was not found in PATH, add nix to userPackages" >&2
  67. PATH=${self.nix}/bin:$PATH
  68. fi
  69. exec nix-env -f '<nixpkgs>' -r -iA userPackages "$@"
  70. '';
  71. cssh = super.writeScriptBin "cssh" ''
  72. #!${super.stdenv.shell}
  73. exec ${self.tmux-cssh}/bin/tmux-cssh $@
  74. '';
  75. };
  76. }