From 0e0670172007815db325c599c3c4f9e8e41ba0bc Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 28 Dec 2019 10:31:26 +1300 Subject: [PATCH] taskwarrior: add checklist behavior --- pkgs/q/default.nix | 1 - system/desktop/home-manager.nix | 61 ++++++++++++++++----------------- 2 files changed, 30 insertions(+), 32 deletions(-) diff --git a/pkgs/q/default.nix b/pkgs/q/default.nix index e85683b..01cec43 100644 --- a/pkgs/q/default.nix +++ b/pkgs/q/default.nix @@ -270,7 +270,6 @@ let done ''; - q-virtualization = '' printf '%20s │ %s\n' "VT" \ $(${pkgs.systemd}/bin/systemd-detect-virt) diff --git a/system/desktop/home-manager.nix b/system/desktop/home-manager.nix index 4f62bce..8d74e7a 100644 --- a/system/desktop/home-manager.nix +++ b/system/desktop/home-manager.nix @@ -36,39 +36,38 @@ in { home-manager.users.mainUser = { - home.file.".config/bugwarrior/bugwarriorrc".text = - '' - [general] - targets = my-github,nixos-github - static_fields = priority - log.level = INFO + home.file.".config/bugwarrior/bugwarriorrc".text = '' + [general] + targets = my-github,nixos-github + static_fields = priority + log.level = INFO - [my-github] - service = github - github.login = mrVanDalo - github.token = @oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken - github.username = mrVanDalo - github.default_priority = - github.description_template = {{githubtitle}} {{githuburl}} - github.add_tags = github - github.involved_issues = False - github.exclude_repos = azubi,stepp0r - github.include_user_repos = True - github.include_user_issues = False + [my-github] + service = github + github.login = mrVanDalo + github.token = @oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken + github.username = mrVanDalo + github.default_priority = + github.description_template = {{githubtitle}} {{githuburl}} + github.add_tags = github + github.involved_issues = False + github.exclude_repos = azubi,stepp0r + github.include_user_repos = True + github.include_user_issues = False - [nixos-github] - service = github - github.login = mrVanDalo - github.token = @oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken - github.username = mrVanDalo - github.default_priority = - github.description_template = {{githubtitle}} {{githuburl}} - github.add_tags = github - github.involved_issues = False - github.include_user_repos = False - github.include_user_issues = False - github.query = involves:mrVanDalo is:open org:NixOS org:krebs - ''; + [nixos-github] + service = github + github.login = mrVanDalo + github.token = @oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken + github.username = mrVanDalo + github.default_priority = + github.description_template = {{githubtitle}} {{githuburl}} + github.add_tags = github + github.involved_issues = False + github.include_user_repos = False + github.include_user_issues = False + github.query = involves:mrVanDalo is:open org:NixOS org:krebs + ''; home.file.".zshrc".text = '' # a fix for https://github.com/NixOS/nixpkgs/issues/27587