diff options
Diffstat (limited to 'makefu/3modules')
-rw-r--r-- | makefu/3modules/awesome-extra.nix | 10 |
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"; }); }; |