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 From 7a7058bb5c2eb412348bf02f797c5018ac1544d1 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 9 Oct 2015 12:35:26 +0200 Subject: m 2 awesomecfg -> m 5 awesomecfg --- makefu/2configs/base-gui.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makefu/2configs/base-gui.nix') diff --git a/makefu/2configs/base-gui.nix b/makefu/2configs/base-gui.nix index 3dd225359..30e4c735e 100644 --- a/makefu/2configs/base-gui.nix +++ b/makefu/2configs/base-gui.nix @@ -13,6 +13,7 @@ with lib; let mainUser = config.krebs.build.user.name; + awesomecfg = pkgs.awesomecfg.full; in { imports = [ ]; @@ -34,9 +35,8 @@ in }; 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 + cp ${awesomecfg} $out/etc/xdg/awesome/rc.lua ''; }); }; -- cgit v1.2.3