From e507ab5ba770d57e846aa79f12ef055bd2fa70e4 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 9 Oct 2015 12:02:09 +0200 Subject: m 2 base-gui: override default configuration for awesome --- makefu/2configs/base-gui.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'makefu/2configs/base-gui.nix') diff --git a/makefu/2configs/base-gui.nix b/makefu/2configs/base-gui.nix index 6896a66dc..3dd225359 100644 --- a/makefu/2configs/base-gui.nix +++ b/makefu/2configs/base-gui.nix @@ -32,6 +32,14 @@ in displayManager.auto.user = mainUser; desktopManager.xterm.enable = false; }; + nixpkgs.config.packageOverrides = pkgs: rec { + awesome = pkgs.stdenv.lib.overrideDerivation pkgs.awesome (oldAttrs : { + awesomecfg = ./awesome/rc.lua; + postInstall = '' + cp $awesomecfg $out/etc/xdg/awesome/rc.lua + ''; + }); + }; i18n.consoleFont = "Lat2-Terminus16"; -- cgit v1.2.3