diff options
author | lassulus <lassulus@lassul.us> | 2018-02-28 09:06:03 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-02-28 09:06:03 +0100 |
commit | 2944eae45a7c3c76bb5af8ebe0854be21b66570b (patch) | |
tree | d81dda89603b8dacc3f88f4a7c6bda0b0347b8f0 /makefu/5pkgs/awesomecfg/default.nix | |
parent | ec798442e759aaeda4a059ac51b9960f72e3fee9 (diff) | |
parent | a35ac200aeed79660674591406135737d3f56392 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/awesomecfg/default.nix')
-rw-r--r-- | makefu/5pkgs/awesomecfg/default.nix | 25 |
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; + }; } |