m 2 awesomecfg -> m 5 awesomecfg

This commit is contained in:
makefu 2015-10-09 12:35:26 +02:00
parent d0f89327eb
commit 71945e2ea1
4 changed files with 8 additions and 2 deletions

View file

@ -13,6 +13,7 @@
with lib; with lib;
let let
mainUser = config.krebs.build.user.name; mainUser = config.krebs.build.user.name;
awesomecfg = pkgs.awesomecfg.full;
in in
{ {
imports = [ ]; imports = [ ];
@ -34,9 +35,8 @@ in
}; };
nixpkgs.config.packageOverrides = pkgs: rec { nixpkgs.config.packageOverrides = pkgs: rec {
awesome = pkgs.stdenv.lib.overrideDerivation pkgs.awesome (oldAttrs : { awesome = pkgs.stdenv.lib.overrideDerivation pkgs.awesome (oldAttrs : {
awesomecfg = ./awesome/rc.lua;
postInstall = '' postInstall = ''
cp $awesomecfg $out/etc/xdg/awesome/rc.lua cp ${awesomecfg} $out/etc/xdg/awesome/rc.lua
''; '';
}); });
}; };

View file

@ -0,0 +1,5 @@
_:
{
full = ./cfg/full.cfg;
}

View file

@ -8,4 +8,5 @@ in
alsa-hdspconf = callPackage ./alsa-tools { alsaToolTarget="hdspconf";}; alsa-hdspconf = callPackage ./alsa-tools { alsaToolTarget="hdspconf";};
alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";}; alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";};
tinc_graphs = callPackage ./tinc_graphs {}; tinc_graphs = callPackage ./tinc_graphs {};
awesomecfg = callPackage ./awesomecfg {};
} }