aboutsummaryrefslogtreecommitdiff
path: root/modules/actual.nix
blob: 95bbc7d7c85365957bc74bfb5cb0198065019d12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ ... }:

# Actual Budget - local-first personal finance application.
#
# Native NixOS module (services.actual, available since this flake's pinned
# nixpkgs release). Listens on 127.0.0.1:5006; Caddy handles public HTTPS
# termination.
#
# On first visit to https://budget.karanj.com the app prompts you to set a
# server password in the browser - no pre-configuration needed.
#
# All budget data is persisted in /var/lib/actual on the host (the module's
# own StateDirectory).
{
  services.actual = {
    enable = true;
    settings = {
      hostname = "127.0.0.1";
      port = 5006;
    };
  };
}