summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jeschli/1systems/bln/config.nix2
-rw-r--r--krebs/5pkgs/simple/Reaktor/plugins.nix12
2 files changed, 11 insertions, 3 deletions
diff --git a/jeschli/1systems/bln/config.nix b/jeschli/1systems/bln/config.nix
index c06c59281..371a7052d 100644
--- a/jeschli/1systems/bln/config.nix
+++ b/jeschli/1systems/bln/config.nix
@@ -106,6 +106,8 @@
services.printing.enable = true;
services.printing.drivers = [ pkgs.postscript-lexmark ];
+ services.redis.enable = true;
+
services.xserver = {
desktopManager.session = lib.mkForce [];
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix
index 3730b9e66..c303f9fb3 100644
--- a/krebs/5pkgs/simple/Reaktor/plugins.nix
+++ b/krebs/5pkgs/simple/Reaktor/plugins.nix
@@ -148,9 +148,15 @@ rec {
taskwarrior = buildSimpleReaktorPlugin "task" {
pattern = "^task: (?P<args>.*)$$";
- script = pkgs.writeDash "task-wrapper" ''
- ${pkgs.taskwarrior}/bin/task "$*"
- '';
+ script = let
+ taskrc = "$HOME/.taskrc";
+ in
+ pkgs.writeDash "task-wrapper" ''
+ if [ -f ${taskrc} ] ; then
+ touch ${taskrc}
+ fi
+ ${pkgs.taskwarrior}/bin/task "$*"
+ '';
};
todo = name: {