Merge remote-tracking branch 'prism/staging/jeschli'
This commit is contained in:
commit
2f29f28730
@ -106,6 +106,8 @@
|
|||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.printing.drivers = [ pkgs.postscript-lexmark ];
|
services.printing.drivers = [ pkgs.postscript-lexmark ];
|
||||||
|
|
||||||
|
services.redis.enable = true;
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
|
||||||
desktopManager.session = lib.mkForce [];
|
desktopManager.session = lib.mkForce [];
|
||||||
|
@ -148,7 +148,13 @@ rec {
|
|||||||
|
|
||||||
taskwarrior = buildSimpleReaktorPlugin "task" {
|
taskwarrior = buildSimpleReaktorPlugin "task" {
|
||||||
pattern = "^task: (?P<args>.*)$$";
|
pattern = "^task: (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "task-wrapper" ''
|
script = let
|
||||||
|
taskrc = "$HOME/.taskrc";
|
||||||
|
in
|
||||||
|
pkgs.writeDash "task-wrapper" ''
|
||||||
|
if [ -f ${taskrc} ] ; then
|
||||||
|
touch ${taskrc}
|
||||||
|
fi
|
||||||
${pkgs.taskwarrior}/bin/task "$*"
|
${pkgs.taskwarrior}/bin/task "$*"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user