summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/awesomecfg/default.nix
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-02-28 20:22:08 +0000
committerjeschli <jeschli@gmail.com>2018-02-28 20:22:08 +0000
commite7ac3fc703929cd503bc6a01cad449a5b2c328f2 (patch)
treea03346a78c60212faa190f4d9ae146ef5a2d6324 /makefu/5pkgs/awesomecfg/default.nix
parenta7e49dd5fc590ba2ccb26d559d672767c87a7692 (diff)
parent793742b9d1b2eab942e5d06ed27028c636cda583 (diff)
Merge branch 'staging/jeschli' of prism.i:stockholm into staging/jeschli
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;
+ };
}