this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

finance additions (paperless, fava, beancount)

+41 -16
+1
hosts/box/default.nix
··· 31 31 "/var/lib/radicale" # radicale 32 32 "/home/anish/usr/drawing" # syncthing 33 33 "/home/anish/usr/nonfiction" # syncthing 34 + "/home/anish/usr/finance" # beancount 34 35 "/mnt/two/postgres" # sealight postgres backups TODO remove once moved to capsul 35 36 ]; 36 37 # seafile
+15 -1
profiles/dns/default.nix
··· 10 10 addn-hosts=/etc/adblock.hosts 11 11 ''; # find a way to make adblock hosts reproducible and updateable 12 12 services.dnsmasq.servers = [ "45.90.30.49" "45.90.28.49" "1.1.1.1" "8.8.8.8" ]; 13 - networking.hosts = { "192.168.1.240" = [ "mossnet.lan" "links.mossnet.lan" "read.mossnet.lan" "stats.mossnet.lan" "music.mossnet.lan" "rss.mossnet.lan" "tasks.mossnet.lan" "file.mossnet.lan" "books.mossnet.lan" ]; }; 13 + networking.hosts = { 14 + "192.168.1.240" = [ 15 + "mossnet.lan" 16 + "links.mossnet.lan" 17 + "read.mossnet.lan" 18 + "stats.mossnet.lan" 19 + "music.mossnet.lan" 20 + "rss.mossnet.lan" 21 + "tasks.mossnet.lan" 22 + "file.mossnet.lan" 23 + "books.mossnet.lan" 24 + "fin.mossnet.lan" 25 + "paper.mossnet.lan" 26 + ]; 27 + }; 14 28 networking.firewall.allowedTCPPorts = [ 53 ]; 15 29 networking.firewall.allowedUDPPorts = [ 53 ]; 16 30 }
+22 -14
profiles/finance/default.nix
··· 3 3 { 4 4 services.paperless = { 5 5 enable = true; 6 + consumptionDirIsPublic = true; 7 + extraConfig.PAPERLESS_AUTO_LOGIN_USERNAME = "admin"; 6 8 }; 7 9 8 10 environment.systemPackages = [ 9 - beancount 11 + pkgs.beancount 10 12 ]; 11 13 12 - # systemd.services.fava = { 13 - # path = [ 14 - # pkgs.fava 15 - # ]; 16 - # before = [ "nginx.service" ]; 17 - # serviceConfig = { 18 - # User = "anish"; 19 - # ExecStart = '' 20 - # fava /home/anish/usr/finance/ledger.beancount 21 - # ''; 22 - # Restart = "on-failure"; 23 - # }; 24 - # }; 14 + # TODO 15 + # This one doesn't have a start condition, so I'm manually triggering it 16 + # I'm not sure what the proper start condition is for it 17 + systemd.services.fava = { 18 + path = [ 19 + pkgs.fava 20 + ]; 21 + before = [ "nginx.service" ]; 22 + serviceConfig = { 23 + User = "anish"; 24 + ExecStart = '' 25 + ${pkgs.fava}/bin/fava -p 29492 /home/anish/usr/finance/ledger.beancount 26 + ''; 27 + Restart = "on-failure"; 28 + }; 29 + }; 25 30 26 31 services.nginx = { 27 32 enable = true; 28 33 virtualHosts."fin.mossnet.lan".locations."/" = { 34 + proxyPass = "http://localhost:29492"; 35 + }; 36 + virtualHosts."paper.mossnet.lan".locations."/" = { 29 37 proxyPass = "http://localhost:28981"; 30 38 }; 31 39 };
+1
profiles/mossnet-hosts/default.nix
··· 8 8 192.168.1.240 file.mossnet.lan 9 9 192.168.1.240 task.mossnet.lan 10 10 192.168.1.240 fin.mossnet.lan 11 + 192.168.1.240 paper.mossnet.lan 11 12 ''; 12 13 # 10.0.69.4 mossnet.lan 13 14 # 10.0.69.4 links.mossnet.lan
+2 -1
users/profiles/nvim/default.nix
··· 576 576 577 577 -- treesitter 578 578 require('nvim-treesitter.configs').setup { 579 - ensure_installed={'nix', 'clojure', 'python', 'fennel', 'lua', 'html', 'css', 'regex', 'supercollider'}, 579 + ensure_installed={'nix', 'clojure', 'python', 'fennel', 'lua', 'html', 'css', 'regex', 'supercollider', 'beancount'}, 580 580 highlight = { enabled = true, additional_vim_regex_highting = true, }, 581 581 textobjects = { enabled = true }, 582 582 } ··· 785 785 nvim-navic 786 786 scnvim 787 787 leap 788 + vim-beancount 788 789 # TODO break with nvim 0.8.0 789 790 # these are here until i upgrade my nixos channnel in the flake 790 791 my-which-key-nvim