summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/awesomecfg/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-02-28 09:06:03 +0100
committerlassulus <lassulus@lassul.us>2018-02-28 09:06:03 +0100
commit2944eae45a7c3c76bb5af8ebe0854be21b66570b (patch)
treed81dda89603b8dacc3f88f4a7c6bda0b0347b8f0 /makefu/5pkgs/awesomecfg/default.nix
parentec798442e759aaeda4a059ac51b9960f72e3fee9 (diff)
parenta35ac200aeed79660674591406135737d3f56392 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/awesomecfg/default.nix')
-rw-r--r--makefu/5pkgs/awesomecfg/default.nix25
1 files changed, 21 insertions, 4 deletions
diff --git a/makefu/5pkgs/awesomecfg/default.nix b/makefu/5pkgs/awesomecfg/default.nix
index 3c9340692..7e9724ec8 100644
--- a/makefu/5pkgs/awesomecfg/default.nix
+++ b/makefu/5pkgs/awesomecfg/default.nix
@@ -1,7 +1,24 @@
-_:
+{ pkgs
+, lib
+, alsaUtils
+, xlockmore
+, xbacklight
+, modkey?"Mod4"
+, ... }:
{
- # replace: @amixer@ @xlock@ @xbacklight@
- full = ./full.cfg;
- kiosk = ./kiosk.lua;
+ # replace: @alsaUtils@ @xlockmore@ @xbacklight@ @modkey@
+ full = lib.makeOverridable pkgs.substituteAll {
+ name = "awesome_full_config";
+ inherit alsaUtils xlockmore xbacklight modkey;
+ isExecutable = false;
+ src = ./full.cfg;
+ };
+
+ kiosk = lib.makeOverridable pkgs.substituteAll {
+ name = "awesome_kiosk_config";
+ inherit alsaUtils xlockmore xbacklight modkey;
+ isExecutable = false;
+ src = ./kiosk.lua;
+ };
}