From c394af7127250b807dc56cffdea501a7e523daae Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sun, 18 Jan 2026 22:32:47 -0500 Subject: [PATCH 1/5] fix: comply to two digit months as per API wanting YYYY-MM --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 195a22a..ddb5d28 100644 --- a/main.go +++ b/main.go @@ -110,11 +110,12 @@ func (b BudgetClient) BankSync() bool { func (b BudgetClient) GetBudgetMonths() *BudgetMonthsResponse { currentTime := time.Now() year, month := currentTime.Year(), int(currentTime.Month()) - budgetMonth := fmt.Sprintf("%v-%v", year, month) + budgetMonth := fmt.Sprintf("%v-%02d", year, month) resp := b.callApi("GET", "/months/"+budgetMonth, nil) defer resp.Body.Close() if resp.StatusCode != http.StatusOK { - log.Fatal("GetBudgetAmounts failed with: " + string(resp.Status)) + temp, _ := io.ReadAll(resp.Body) + log.Fatal("GetBudgetAmounts failed with: " + string(resp.Status) + " " + string(temp)) } var data bytes.Buffer From 215a0fde7c075baf47b31a084420335e0efe808a Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Tue, 20 Jan 2026 10:43:59 -0500 Subject: [PATCH 2/5] chore: flake updates for v2.0.1 release --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 29ec137..c0b6f18 100644 --- a/flake.nix +++ b/flake.nix @@ -42,8 +42,8 @@ domain = "git.wanderingcrow.net"; owner = "TheWanderingCrow"; repo = "actualbudget-report"; - rev = "v0.1"; - hash = "sha256-1Z3+Efx0MCsZhfz49nKsdaWgyVt9+7kekwgfQyaYUxQ="; + rev = "v2.0.1"; + hash = "sha256-FytoZUN8g3ilzTa1xKEbsCaZiHHz0QMGVbS+NYow920="; }; vendorHash = "sha256-NHTKwUSIbNCUco88JbHOo3gt6S37ggee+LWNbHaRGEs="; }; From 874eb0eff1f8ad6248952555a59ab1c0e75b78b7 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Tue, 20 Jan 2026 15:39:59 -0500 Subject: [PATCH 3/5] chore: v2.0.2 release --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c0b6f18..dfaa2df 100644 --- a/flake.nix +++ b/flake.nix @@ -42,8 +42,8 @@ domain = "git.wanderingcrow.net"; owner = "TheWanderingCrow"; repo = "actualbudget-report"; - rev = "v2.0.1"; - hash = "sha256-FytoZUN8g3ilzTa1xKEbsCaZiHHz0QMGVbS+NYow920="; + rev = "v2.0.2"; + hash = "sha256-vnd1RvlMD4WOLtXpIOiPxuDxvHoBQVTP/8l/OMWR5No="; }; vendorHash = "sha256-NHTKwUSIbNCUco88JbHOo3gt6S37ggee+LWNbHaRGEs="; }; From 3da46bd0a775645e1eb62d2fe74409328b74c095 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Tue, 20 Jan 2026 15:44:39 -0500 Subject: [PATCH 4/5] chore: Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4d5e23d..2fb5830 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ sops.templates."actualbudget-report-env".content = '' SMTP_USERNAME= SMTP_PASSWORD= SMTP_HOST= + SMTP_PORT= SMTP_RECIPIENTS= BUDGET_ENCRYPTION_KEY= ''; From eb74f08b2c34ba98b0b169935c1e7ea93f67f88d Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Fri, 30 Jan 2026 16:10:30 -0500 Subject: [PATCH 5/5] add hydraJobs to flake --- flake.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index dfaa2df..3d96a69 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,15 @@ "aarch64-darwin" "x86_64-darwin" ]; - flake.nixosModules.default = ./modules/actualbudget-report; + flake = { + nixosModules.default = ./modules/actualbudget-report; + hydraJobs = { + inherit (self) + packages + ; + + }; + }; perSystem = { config,