2018-02-27 00:08:43 +01:00
|
|
|
{ pkgs
|
|
|
|
, lib
|
|
|
|
, alsaUtils
|
|
|
|
, xbacklight
|
2018-08-06 17:53:56 +02:00
|
|
|
, networkmanagerapplet
|
|
|
|
, blueman
|
|
|
|
, clipit
|
|
|
|
, modkey ? "Mod4"
|
2018-03-13 11:34:28 +01:00
|
|
|
, locker? "${pkgs.xlock}/bin/xlock -mode blank"
|
2018-02-27 00:08:43 +01:00
|
|
|
, ... }:
|
2015-10-09 12:35:26 +02:00
|
|
|
|
|
|
|
{
|
2018-02-27 00:08:43 +01:00
|
|
|
# replace: @alsaUtils@ @xlockmore@ @xbacklight@ @modkey@
|
|
|
|
full = lib.makeOverridable pkgs.substituteAll {
|
|
|
|
name = "awesome_full_config";
|
2018-08-06 17:53:56 +02:00
|
|
|
inherit alsaUtils locker xbacklight modkey networkmanagerapplet blueman clipit;
|
2018-02-27 00:08:43 +01:00
|
|
|
isExecutable = false;
|
|
|
|
src = ./full.cfg;
|
|
|
|
};
|
|
|
|
|
|
|
|
kiosk = lib.makeOverridable pkgs.substituteAll {
|
|
|
|
name = "awesome_kiosk_config";
|
2018-03-13 11:34:28 +01:00
|
|
|
inherit alsaUtils locker xbacklight modkey;
|
2018-02-27 00:08:43 +01:00
|
|
|
isExecutable = false;
|
|
|
|
src = ./kiosk.lua;
|
|
|
|
};
|
2015-10-09 12:35:26 +02:00
|
|
|
}
|