From 980d2f8c7370238e088da0faa2c2200bc7b715b6 Mon Sep 17 00:00:00 2001 From: Martin Pander Date: Sat, 7 Feb 2026 20:49:12 +0100 Subject: [PATCH] Add tasksquire --- nix/flake.lock | 57 ++++++++++++++++++++++++++++++++++++++- nix/flake.nix | 5 ++++ nix/modules/home/task.nix | 3 ++- 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/nix/flake.lock b/nix/flake.lock index 4d34658..bce43ac 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -16,6 +16,24 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -99,7 +117,8 @@ "nix-darwin": "nix-darwin", "nixos-wsl": "nixos-wsl", "nixpkgs": "nixpkgs", - "sops-nix": "sops-nix" + "sops-nix": "sops-nix", + "tasksquire": "tasksquire" } }, "sops-nix": { @@ -121,6 +140,42 @@ "repo": "sops-nix", "type": "github" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "tasksquire": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1770493498, + "narHash": "sha256-CzEZNILuIfFOWtbOhcfsqVN3e+n78Pkt7lbYdbivH4o=", + "ref": "refs/heads/dev", + "rev": "980c8eb309e5032e599eebb79191a2de84087403", + "revCount": 45, + "type": "git", + "url": "ssh://git@git.pander.me/martin/tasksquire.git" + }, + "original": { + "type": "git", + "url": "ssh://git@git.pander.me/martin/tasksquire.git" + } } }, "root": "root", diff --git a/nix/flake.nix b/nix/flake.nix index 329fa34..0be297f 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -23,6 +23,11 @@ url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + + tasksquire = { + url = "git+ssh://git@git.pander.me/martin/tasksquire.git"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, nixos-wsl, home-manager, nix-darwin, sops-nix, ... }@inputs: diff --git a/nix/modules/home/task.nix b/nix/modules/home/task.nix index e0bcab0..6564bda 100644 --- a/nix/modules/home/task.nix +++ b/nix/modules/home/task.nix @@ -1,4 +1,4 @@ -{config, pkgs, lib, ...}: +{config, pkgs, lib, inputs, ...}: { programs.taskwarrior = { @@ -63,6 +63,7 @@ home.packages = with pkgs; [ taskwarrior-tui timewarrior + inputs.tasksquire.packages.${pkgs.system}.default ]; home.shellAliases = lib.mkMerge [ {