diff options
author | lassulus <lass@blue.r> | 2018-07-09 19:23:12 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-07-09 19:23:12 +0200 |
commit | 2f29f28730347c2b69d3aebc931deb36159cf1fe (patch) | |
tree | 0b910c1eb5c62d9c178fc53dbef5266062b19977 | |
parent | 6308cd0d357a5d1d94592981de8960c78aebc490 (diff) | |
parent | d1c6baf00e98a0229fc7fd96874623efc8417b05 (diff) |
Merge remote-tracking branch 'prism/staging/jeschli'
-rw-r--r-- | jeschli/1systems/bln/config.nix | 2 | ||||
-rw-r--r-- | krebs/5pkgs/simple/Reaktor/plugins.nix | 12 |
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: { |