From aa919a77976a8b93430c99e1d63fae5eb3198254 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 27 Feb 2018 00:08:43 +0100 Subject: ma pkgs: cleanup awesomecfg, custom, shackie --- makefu/3modules/awesome-extra.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'makefu/3modules') diff --git a/makefu/3modules/awesome-extra.nix b/makefu/3modules/awesome-extra.nix index 0561c15a..e4a79aa8 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"; }); }; -- cgit v1.2.3