summaryrefslogtreecommitdiffstats
path: root/makefu/3modules/awesome-extra.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-02-28 22:51:18 +0100
committertv <tv@krebsco.de>2018-02-28 22:51:18 +0100
commitbecf1ce7ac7688692c3770571387b3761be11698 (patch)
tree6238277fa4c42de03b393d89cdbb12d8582afba4 /makefu/3modules/awesome-extra.nix
parent2934d4524bcbae13043d684a27597c8b08c0851b (diff)
parent793742b9d1b2eab942e5d06ed27028c636cda583 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/3modules/awesome-extra.nix')
-rw-r--r--makefu/3modules/awesome-extra.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/makefu/3modules/awesome-extra.nix b/makefu/3modules/awesome-extra.nix
index 0561c15a8..e4a79aa87 100644
--- a/makefu/3modules/awesome-extra.nix
+++ b/makefu/3modules/awesome-extra.nix
@@ -29,15 +29,7 @@ let
nixpkgs.config.packageOverrides = pkgs: rec {
awesome = pkgs.stdenv.lib.overrideDerivation pkgs.awesome (oldAttrs : {
postFixup = let
- rclua = pkgs.substituteAll {
- src = cfg.baseConfig;
- modkey = cfg.modkey;
- # inherit (cfg) modkey;
- amixer = "${pkgs.alsaUtils}/bin/amixer";
- xlock = "${pkgs.xlockmore}/bin/xlock";
- xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight";
-
- };
+ rclua = cfg.baseConfig.override { inherit (cfg) modkey; };
in "cp ${rclua} $out/etc/xdg/awesome/rc.lua";
});
};