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,9 +148,15 @@ rec {
|
|||||||
|
|
||||||
taskwarrior = buildSimpleReaktorPlugin "task" {
|
taskwarrior = buildSimpleReaktorPlugin "task" {
|
||||||
pattern = "^task: (?P<args>.*)$$";
|
pattern = "^task: (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "task-wrapper" ''
|
script = let
|
||||||
${pkgs.taskwarrior}/bin/task "$*"
|
taskrc = "$HOME/.taskrc";
|
||||||
'';
|
in
|
||||||
|
pkgs.writeDash "task-wrapper" ''
|
||||||
|
if [ -f ${taskrc} ] ; then
|
||||||
|
touch ${taskrc}
|
||||||
|
fi
|
||||||
|
${pkgs.taskwarrior}/bin/task "$*"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
todo = name: {
|
todo = name: {
|
||||||
|
Loading…
Reference in New Issue
Block a user