Commit cb1429845389

Vincent Demeester <vincent@sbr.pm>
2016-11-20 14:54:42
Add "pinned" packages from vdemeester/sbrpkgs
`custom-packages.nix` defines packages overrides from my personnal repository (https://github.com/vdemeester/sbrpkgs). That allows me to override some packages and add some that are not present in `nixpkgs`. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 236904b
Changed files (3)
configuration/custom-packages.nix
@@ -0,0 +1,21 @@
+{ config, lib, pkgs, ... }:
+
+{
+  nixpkgs.config = {
+  packageOverrides = self: with self; let
+    fetchNixPkgs = { rev, sha256 }:
+    fetchFromGitHub {
+      inherit sha256 rev;
+      owner = "vdemeester";
+      repo = "sbrpkgs";
+    };
+    pinnedPkgs = import (fetchNixPkgs {
+      rev = "8e0a7940b2e18996dd18905b444b65f08d5917fa";
+      sha256 = "05wg6sa7hi95zppkr3lj8sgxfisz7m8293wbgav3glvmv80jhwif";
+    }) {};
+
+  in {
+    inherit (pinnedPkgs) doctl dobi vndr sbr-i3-config;
+  };
+  };
+}
configuration/packages.nix
@@ -14,6 +14,8 @@
 				aspellDicts.fr
 				cryptsetup
 				direnv
+				dobi
+				doctl
 				file
 				gcc
 				gptfdisk
@@ -22,8 +24,10 @@
 				gnupg
 				haskellPackages.git-annex
 				htop
+				iotop
 				lsof
 				msmtp
+				netcat
 				offlineimap
 				psmisc
 				tmux
machine/wakasu.nix
@@ -4,6 +4,7 @@
 	imports =
 		[ # Include the results of the hardware scan.
 			../hardware-configuration.nix
+			../configuration/custom-packages.nix
 			../configuration/common.nix
 			../hardware/thinkpad-t460s-configuration.nix
 		];