Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created August 23, 2018 19:08
Show Gist options
  • Save cleverca22/dbd9304a484adca87352ce9ca3854093 to your computer and use it in GitHub Desktop.
Save cleverca22/dbd9304a484adca87352ce9ca3854093 to your computer and use it in GitHub Desktop.
225 packageOverrides = pkgs: rec {
226 #nix = pkgs.stdenv.lib.overrideDerivation pkgs.nix (oldAttrs: {
227 #patches = /home/clever/apps/nix-misc/upgrade.patch;
228 #patches = ./hax.patch;
229 #});
230 toxvpn = pkgs.callPackage /home/clever/toxvpn {};
231 bluez = pkgs.bluez5;
232 cacti = pkgs.callPackage ./cacti.nix {};
233 #teamviewer = pkgs.callPackage_i686 ./10.nix { acceptLicense = true; };
234 pulseCustom = pkgs.callPackage ./pulse.nix { };
235 #xfce = pkgs.xfce // rec {
236 # xfce4mixer = pkgs.xfce.xfce4mixer.override { pulseaudioSupport = false; };
237 # xfce4panel = pkgs.xfce.xfce4panel.override { inherit xfce4mixer; };
238 # thunar-build = pkgs.xfce.thunar-build.override { inherit xfce4panel; };
239 #};
240 #linux_4_4 = pkgs.linux_4_4.override {
241 #extraConfig = ''
242 #SCHEDSTATS y
243 #LATENCYTOP y
244 #'';
245 #};
246 ntp = pkgs.ntp.overrideAttrs (drv: {
247 patches = [ (pkgs.fetchpatch { url = "https://github.com/ntp-project/ntp/commit/881e427f3236046466bdb8235edf86e6dfa34391.patch"; sha256 = "0iqn12m7vzsblqbds5jb57m8cjs30rw8nh2xv8k2g8lbqbyk1k7s"; }) ];
248 });
249 XXXlinux_4_9 = pkgs.linux_4_9.override {
250 extraConfig = ''
251 NF_CT_PROTO_DCCP n
252 NF_NAT_PROTO_DCCP n
253 NETFILTER_XT_MATCH_DCCP n
254 IP_DCCP n
255 INET_DCCP_DIAG n
256 NET_DCCPPROBE n
257 '';
258 };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment