Add hledger-web service

This commit is contained in:
Nathan van Doorn 2024-06-26 15:09:19 +00:00
parent 22b8aedee4
commit 530edccdf5
1 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,13 @@
}; };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
}; };
nixosModules.hledger = {...}: {
services.hledger-web = {
enable = true;
allow = "edit";
};
networking.firewall.allowedTCPPorts = [ 5000 ];
};
nixosModules.samba = {...}: { nixosModules.samba = {...}: {
services.samba = { services.samba = {
enable = true; enable = true;
@ -85,6 +92,7 @@
self.nixosModules.zfs self.nixosModules.zfs
self.nixosModules.plex self.nixosModules.plex
self.nixosModules.samba self.nixosModules.samba
self.nixosModules.hledger
]; ];
}; };
}; };