Refactor LNBits configuration to utilize flake imports and enhance modularity

Updated the lnbits.nix configuration to import the LNBits service module from a flake, improving maintainability and alignment with deployment practices. Adjusted the shared configuration to make the 'domain' parameter accessible to all imported modules, and removed the deprecated lnbits-service.nix file to streamline the setup.
This commit is contained in:
padreug 2025-10-11 10:28:58 +02:00
parent 30209458f7
commit aa0381c42b
4 changed files with 18 additions and 131 deletions

View file

@ -3,8 +3,7 @@
{
imports = [
/var/src/config-nginx
/var/src/config-modules/lnbits-service.nix
{ _module.args = { inherit domain; }; }
{ _module.args = { inherit domain; }; } # passes <mydomain.com> for nginx virtualHosts
/var/src/config-pict-rs
/var/src/config-lnbits
];