1
0

userPackages.nix 2.7 KB

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