m 2 awesomecfg -> m 5 awesomecfg
This commit is contained in:
parent
d0f89327eb
commit
71945e2ea1
|
@ -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
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
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-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 {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue