about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2015-12-26 17:58:59 +0100
committerProfpatsch <mail@profpatsch.de>2015-12-26 18:14:57 +0100
commitf91a6f17f81133b1782c6484c91ada7afa7dfbc2 (patch)
tree9dc253c99b73fb3177a17d26a66b6dfd0743e24b /machines
parente7b5503c078666858ee29899d065e7aeebf65bb8 (diff)
katara: taffybar environment
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/katara.nix9
-rw-r--r--machines/profpatsch/pkgs.nix12
2 files changed, 13 insertions, 8 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix
index 72e88539..9b837e83 100644
--- a/machines/profpatsch/katara.nix
+++ b/machines/profpatsch/katara.nix
@@ -147,8 +147,7 @@ in {
         # needs user service
         redshift   # increases screen warmth at night (so i don’t have to feel cold)
       ];
-    in systemPkgs ++ xPkgs ++ guiPkgs ++ userPrograms ++ mailPkgs ++ nixPkgs ++ tmpPkgs;
-
+    in systemPkgs ++ xPkgs ++ guiPkgs ++ userPrograms ++ nixPkgs ++ mailPkgs ++ nixPkgs ++ tmpPkgs;
     system.extraDependencies = with pkgs; lib.singleton (
        # Haskell packages I want to keep around
        haskellPackages.ghcWithPackages (hpkgs: with hpkgs;
@@ -159,14 +158,14 @@ in {
            gtk
            frpnow-gtk
            frpnow-gloss
+           taffybar.env
          ]))
        ++
        # other packages that I use sometimes in a shell
        [
-         wkhtmltopdf
+         #wkhtmltopdf
        ];
 
-
     ###########
     # Services
 
@@ -309,7 +308,7 @@ in {
     # Misc
 
     # TODO seems to work only sometimes in chromium
-    security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];
+    # security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];
 
     ########
     # Fixes
diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix
index 9605cf2b..ff6a2280 100644
--- a/machines/profpatsch/pkgs.nix
+++ b/machines/profpatsch/pkgs.nix
@@ -1,8 +1,14 @@
 { pkgs }:
-{
 
-  offlineimap =  with pkgs; offlineimap.overrideDerivation (old: {
-    propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ [ pythonPackages.pygpgme ];
+let
+  addRuntimeDeps = drv: ds: drv.overrideDerivation (old: {
+    propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ ds;
   });
 
+in
+with pkgs;
+{
+
+  offlineimap = addRuntimeDeps offlineimap [ pythonPackages.pygpgme ];
+
 }