summaryrefslogtreecommitdiffstats
path: root/3modules
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-08-06 20:28:00 +0200
committerlassulus <lassulus@lassul.us>2017-08-10 12:54:05 +0200
commit8ae65e4cd743196bea488c5bbbff90a5e2d40d14 (patch)
treeeedefd52db846c7bcbca026233c70d03468b56f9 /3modules
parent030a176198a6f1a3c1ce40cf531b80eac9f1504c (diff)
ma awesome: template insert packages
Diffstat (limited to '3modules')
-rw-r--r--3modules/awesome-extra.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/3modules/awesome-extra.nix b/3modules/awesome-extra.nix
index 81c42cba7..0561c15a8 100644
--- a/3modules/awesome-extra.nix
+++ b/3modules/awesome-extra.nix
@@ -28,10 +28,15 @@ let
# TODO: configure display manager as well
nixpkgs.config.packageOverrides = pkgs: rec {
awesome = pkgs.stdenv.lib.overrideDerivation pkgs.awesome (oldAttrs : {
- postFixup = let
+ postFixup = let
rclua = pkgs.substituteAll {
src = cfg.baseConfig;
- inherit (cfg) modkey;
+ modkey = cfg.modkey;
+ # inherit (cfg) modkey;
+ amixer = "${pkgs.alsaUtils}/bin/amixer";
+ xlock = "${pkgs.xlockmore}/bin/xlock";
+ xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight";
+
};
in "cp ${rclua} $out/etc/xdg/awesome/rc.lua";
});
[cgit] Unable to lock slot /tmp/cgit/1b200000.lock: No such file or directory (2)