userPackages.nix 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. self: super:
  2. {
  3. userPackages = super.userPackages or {
  4. # cli
  5. vimHugeX = self.vimHugeX;
  6. neovim = self.neovim;
  7. neovim-remote = self.neovim-remote;
  8. git = self.git;
  9. feh = self.feh;
  10. ripgrep = self.ripgrep;
  11. jq = self.jq;
  12. tree = self.tree;
  13. dnsutils = self.dnsutils;
  14. httpie = self.httpie;
  15. htop = self.htop;
  16. bc = self.bc;
  17. pv = self.pv;
  18. caddy = self.caddy;
  19. openssl = self.openssl;
  20. pwgen = self.pwgen;
  21. gnupg = self.gnupg;
  22. whois = self.whois;
  23. traceroute = self.traceroute;
  24. tig = self.tig;
  25. gettext = self.gettext;
  26. unzip = self.unzip;
  27. # desktop
  28. adapta-gtk-theme = self.adapta-gtk-theme;
  29. hicolor-icon-theme = self.hicolor-icon-theme;
  30. arc-icon-theme = self.arc-icon-theme;
  31. gmrun = self.gmrun;
  32. dunst = self.dunst;
  33. compton = self.compton;
  34. fcitx-configtool = self.fcitx-configtool;
  35. volumeicon = self.volumeicon;
  36. pcmanfm = self.pcmanfm;
  37. lxappearance = self.lxappearance;
  38. xdotool = self.xdotool;
  39. scrot = self.scrot;
  40. xbacklight = self.xorg.xbacklight;
  41. libnotify = self.libnotify;
  42. # apps
  43. firefox = self.firefox;
  44. chromium = self.chromium;
  45. pavucontrol = self.pavucontrol;
  46. gnumeric = self.gnumeric;
  47. qterminal = self.lxqt.qterminal;
  48. networkmanagerapplet = self.gnome3.networkmanagerapplet;
  49. networkmanager_openvpn = self.gnome3.networkmanager_openvpn;
  50. keepass = self.keepass.override {
  51. plugins = [ self.keepass-keeagent ];
  52. };
  53. insomnia = self.insomnia;
  54. # work
  55. awscli = self.awscli;
  56. docker = self.docker;
  57. docker-machine = self.docker-machine;
  58. docker-machine-kvm = self.docker-machine-kvm;
  59. docker-machine-kvm2 = self.docker-machine-kvm2;
  60. virtmanager = self.virtmanager;
  61. tmux-cssh = self.tmux-cssh;
  62. cfn-lint = let
  63. pkgs = import <nixpkgs-unstable> {};
  64. in pkgs.python27.pkgs.callPackage ./packages/cfn-lint.nix {};
  65. nix-rebuild = super.writeScriptBin "nix-rebuild" ''
  66. #!${super.stdenv.shell}
  67. if ! command -v nix-env &>/dev/null; then
  68. echo "warning: nix-env was not found in PATH, add nix to userPackages" >&2
  69. PATH=${self.nix}/bin:$PATH
  70. fi
  71. exec nix-env -f '<nixpkgs>' -r -iA userPackages "$@"
  72. '';
  73. cssh = super.writeScriptBin "cssh" ''
  74. #!${super.stdenv.shell}
  75. exec ${self.tmux-cssh}/bin/tmux-cssh $@
  76. '';
  77. };
  78. }