From 522deabe834a8bb2d536d21d23ae90f1998297e4 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sun, 19 Jan 2020 14:39:22 +0100 Subject: [PATCH] Fix pythia --- home/modules/pythia.nix | 8 ++++---- home/taskwarrior.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/home/modules/pythia.nix b/home/modules/pythia.nix index d0c0297c..324a0e2a 100644 --- a/home/modules/pythia.nix +++ b/home/modules/pythia.nix @@ -3,7 +3,7 @@ with lib; { options.m-0.pythia.enable = mkEnableOption "Pythia"; config = mkIf config.m-0.pythia.enable (let - pythia-path = "${config.home.homeDirectory}/data/aktuell/pythia"; + pythia-path = "${config.home.homeDirectory}/documents/pythia"; pythia = pkgs.writeShellScriptBin "pythia" '' datei=${pythia-path}/$(date +%Y-%m-%d) touch $datei @@ -105,9 +105,9 @@ with lib; { ${hold} exit ''; - in { + in { - home.packages = with pkgs; [ pythia meditate ]; - }); + home.packages = with pkgs; [ pythia meditate ]; + }); } diff --git a/home/taskwarrior.nix b/home/taskwarrior.nix index 69a7723a..d1979f7c 100644 --- a/home/taskwarrior.nix +++ b/home/taskwarrior.nix @@ -80,7 +80,7 @@ pure . printMap . fmap That $ task Control.Monad.forM_ description $ \d -> do client <- connectSession - notify client blankNote { summary = "New Task", body = Just $ Text d } + notify client blankNote { summary = "New Task", body = Just $ Text d, expiry = Milliseconds 15000 } LBS.hPut stdout input ''; in {