helm/profiles/finance/default.nix

33 lines
581 B
Nix
Raw Normal View History

2022-09-23 01:10:50 -07:00
{ pkgs, config, lib, ... }:
{
services.paperless = {
enable = true;
};
environment.systemPackages = [
beancount
];
# systemd.services.fava = {
# path = [
# pkgs.fava
# ];
# before = [ "nginx.service" ];
# serviceConfig = {
# User = "anish";
# ExecStart = ''
# fava /home/anish/usr/finance/ledger.beancount
# '';
# Restart = "on-failure";
# };
# };
services.nginx = {
enable = true;
virtualHosts."fin.mossnet.lan".locations."/" = {
proxyPass = "http://localhost:28981";
};
};
}