diff options
author | makefu <github@syntax-fehler.de> | 2018-02-27 00:08:43 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-02-27 00:08:43 +0100 |
commit | aa919a77976a8b93430c99e1d63fae5eb3198254 (patch) | |
tree | 738af92056720790137eddea47177d8bc0d9a92f /makefu/5pkgs/awesomecfg/default.nix | |
parent | 02a53c3b9e530d5c30d1dc68b1620ee7240b3874 (diff) |
ma pkgs: cleanup awesomecfg, custom, shackie
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; + }; } |