m 2 awesomecfg -> m 5 awesomecfg

This commit is contained in:
makefu 2015-10-09 12:35:26 +02:00
parent 42c2a52eaa
commit 7a7058bb5c
4 changed files with 8 additions and 2 deletions

View File

@ -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
'';
});
};

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-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";};
tinc_graphs = callPackage ./tinc_graphs {};
awesomecfg = callPackage ./awesomecfg {};
}