diff options
-rw-r--r-- | machines/profpatsch/notes.org | 32 | ||||
-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.nix | 6 |
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 ]; }; |