Compare commits

..

2 Commits

Author SHA1 Message Date
Nathan van Doorn 35862426ae Get hledger to work 2024-06-29 05:54:54 +00:00
Nathan van Doorn 530edccdf5 Add hledger-web service 2024-06-26 15:09:19 +00:00
1 changed files with 10 additions and 0 deletions

View File

@ -55,6 +55,15 @@
}; };
nixpkgs.config.allowUnfree = true; 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 = {...}: { nixosModules.samba = {...}: {
services.samba = { services.samba = {
enable = true; enable = true;
@ -85,6 +94,7 @@
self.nixosModules.zfs self.nixosModules.zfs
self.nixosModules.plex self.nixosModules.plex
self.nixosModules.samba self.nixosModules.samba
self.nixosModules.hledger
]; ];
}; };
}; };