diff options
author | tv <tv@krebsco.de> | 2018-02-28 22:51:18 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-02-28 22:51:18 +0100 |
commit | becf1ce7ac7688692c3770571387b3761be11698 (patch) | |
tree | 6238277fa4c42de03b393d89cdbb12d8582afba4 /makefu/5pkgs/awesomecfg/default.nix | |
parent | 2934d4524bcbae13043d684a27597c8b08c0851b (diff) | |
parent | 793742b9d1b2eab942e5d06ed27028c636cda583 (diff) |
Merge remote-tracking branch 'prism/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; + }; } |