about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-07-30 15:17:19 +0200
committerProfpatsch <mail@profpatsch.de>2016-07-30 15:17:19 +0200
commit52c05feb581ad535aa790591c37093f3a8817494 (patch)
tree34c5068b2f8df73ad8cfaca57aebe71eec9006f8 /machines
parentd20829102750c2e980abf67c58282174d9a1fd1f (diff)
machines/profpatsch: clean up folder
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/notes.org32
-rw-r--r--machines/profpatsch/patches/sent-bg.patch (renamed from machines/profpatsch/sent-bg.patch)0
-rw-r--r--machines/profpatsch/patches/taffybar-color.patch (renamed from machines/profpatsch/taffybar-color.patch)0
-rw-r--r--machines/profpatsch/patches/taffybar.patch (renamed from machines/profpatsch/taffybar.patch)0
-rw-r--r--machines/profpatsch/pkgs.nix6
5 files changed, 3 insertions, 35 deletions
diff --git a/machines/profpatsch/notes.org b/machines/profpatsch/notes.org
deleted file mode 100644
index b5a82651..00000000
--- a/machines/profpatsch/notes.org
+++ /dev/null
@@ -1,32 +0,0 @@
-* GTK themes
-this should work:
-
-#+BEGIN_SRC nix
-      # https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/desktop-managers/gnome3.nix
-      xserver.displayManager.session = [
-        {
-          manage = "window";
-          name = "awesome";
-          start = ''
-            # Set GTK_DATA_PREFIX so that GTK+ can find the themes
-            export GTK_DATA_PREFIX=${config.system.path}
-            # Find theme engines
-            export GTK_PATH=${config.system.path}/lib/gtk-3.0:${config.system.path}/lib/gtk-2.0
-            # Find the mouse
-            export XCURSOR_PATH=~/.icons:${config.system.path}/share/icons
-            # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
-            ${pkgs.xdg-user-dirs}/bin/xdg-user-dirs-update
-            # Find the mouse
-            export XCURSOR_PATH=~/.icons:${config.system.path}/share/icons
-            ${pkgs.awesome}/bin/awesome&
-            waitPID=$!
-          '';
-        }
-      ];
-
-        environment = {
-
-          # Share needed for themes and backgrounds
-          pathsToLink = [ "/include" "/share"];
-       };
-#+END_SRC
diff --git a/machines/profpatsch/sent-bg.patch b/machines/profpatsch/patches/sent-bg.patch
index acf92ebc..acf92ebc 100644
--- a/machines/profpatsch/sent-bg.patch
+++ b/machines/profpatsch/patches/sent-bg.patch
diff --git a/machines/profpatsch/taffybar-color.patch b/machines/profpatsch/patches/taffybar-color.patch
index cfa1cce8..cfa1cce8 100644
--- a/machines/profpatsch/taffybar-color.patch
+++ b/machines/profpatsch/patches/taffybar-color.patch
diff --git a/machines/profpatsch/taffybar.patch b/machines/profpatsch/patches/taffybar.patch
index a93fca1a..a93fca1a 100644
--- a/machines/profpatsch/taffybar.patch
+++ b/machines/profpatsch/patches/taffybar.patch
diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix
index 9a7e5a5a..c3c09297 100644
--- a/machines/profpatsch/pkgs.nix
+++ b/machines/profpatsch/pkgs.nix
@@ -30,16 +30,16 @@ let
       overrides = _: super: {
         taffybar = super.taffybar.overrideDerivation (old: {
           name = old.name + "foo";
-          patches = (old.patches or []) ++ [ ./taffybar.patch ];
+          patches = (old.patches or []) ++ [ ./patches/taffybar.patch ];
           postPatch = old.postPathPhase or "" + ''
-            patch -R ${./taffybar-color.patch}
+            patch -R ${./patches/taffybar-color.patch}
           '';
         });
       };
     }).ghcWithPackages;
   };
 
-  sent = pkgs.sent.override { patches = [ ./sent-bg.patch ]; };
+  sent = pkgs.sent.override { patches = [ ./patches/sent-bg.patch ]; };
 
   mpv = pkgs.mpv.override { scripts = [ pkgs.mpvScripts.convert ]; };