m 2 awesomecfg -> m 5 awesomecfg
This commit is contained in:
parent
d0f89327eb
commit
71945e2ea1
|
@ -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
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
|
5
5pkgs/awesomecfg/default.nix
Normal file
5
5pkgs/awesomecfg/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_:
|
||||
|
||||
{
|
||||
full = ./cfg/full.cfg;
|
||||
}
|
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue