diff options
author | makefu <github@syntax-fehler.de> | 2017-08-06 20:28:00 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-08-10 12:54:05 +0200 |
commit | 772af263d3c441708e96c3ee3b62a03919e1ba44 (patch) | |
tree | 7648a83078bd47d1ddab2adb786aee625b8913f7 /makefu/3modules/awesome-extra.nix | |
parent | fe720932baeb175529f0d5b75d58a011a00ba964 (diff) |
ma awesome: template insert packages
Diffstat (limited to 'makefu/3modules/awesome-extra.nix')
-rw-r--r-- | makefu/3modules/awesome-extra.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/makefu/3modules/awesome-extra.nix b/makefu/3modules/awesome-extra.nix index 81c42cba7..0561c15a8 100644 --- a/makefu/3modules/awesome-extra.nix +++ b/makefu/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"; }); |