diff --git a/flake.nix b/flake.nix index 4426548..f48ba21 100644 --- a/flake.nix +++ b/flake.nix @@ -55,6 +55,15 @@ }; nixpkgs.config.allowUnfree = true; }; + nixosModules.hledger = {...}: { + services.hledger-web = { + enable = true; + allow = "edit"; + host = "0.0.0.0"; + baseUrl = "http://192.168.1.37:5000"; + }; + networking.firewall.allowedTCPPorts = [ 5000 ]; + }; nixosModules.samba = {...}: { services.samba = { enable = true; @@ -85,6 +94,7 @@ self.nixosModules.zfs self.nixosModules.plex self.nixosModules.samba + self.nixosModules.hledger ]; }; };