add finance services
This commit is contained in:
parent
96c329918d
commit
dfd351baec
32
profiles/finance/default.nix
Normal file
32
profiles/finance/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue