From f6cdb4a4b050581a257789ab14a9557aba7ff37b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 2 Mar 2019 20:49:45 +0100 Subject: Centrally define set of custom packages Weirdly I did not find a better way to pass a userspace "" channel throughout the home-manager expression tree. i.e. adding a "mypkgs ? import { }" argument to all expressions failed somewhere inside Nix. However this way has the benefit of making it very easy to augment the derivations maintained in pkgs.kummerlaender.eu with additional packages. --- gui/gtk.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gui/gtk.nix') diff --git a/gui/gtk.nix b/gui/gtk.nix index abfc889..9d63b0a 100644 --- a/gui/gtk.nix +++ b/gui/gtk.nix @@ -2,14 +2,13 @@ let hidpi = config.custom.hidpi; - mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { }; in { gtk = { enable = true; theme = { name = "oomox"; - package = mypkgs.oomox-gtk-theme { + package = config.custom.pkgs.oomox-gtk-theme { accent_bg = "aadb0f"; bg = "d8d8d8"; fg = "101010"; @@ -38,7 +37,7 @@ in { iconTheme = { name = "oomox-archdroid"; - package = mypkgs.oomox-archdroid-icon-theme "909636"; + package = config.custom.pkgs.oomox-archdroid-icon-theme "909636"; }; font = { -- cgit v1.2.3