Commit Graph

6 Commits

Author SHA1 Message Date
Haos Games
7704029e59 add option to pass additional variables 2023-12-11 08:33:16 +01:00
Matthew Croughan
c5192146af
nix: fix nixosModule and build (#1979)
* lnbits/settings: get LNBITS_COMMIT from envvar if available

There is no other way of setting the git commit at runtime, for build systems like Nix that allow you to hermetically define envvars derived from the source that will be available reproducibly at runtime

* nix: update potree2nix and nixosModule

This is a general refactor that gets everything building and passing the vmTest again

* Update nix/modules/lnbits-service.nix

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2023-10-03 09:50:35 +01:00
dni ⚡
bb9ef7f88c
FEAT: precommit git hooks, based on fusions #913 (#1645)
* init commit for precommit

* some reformatting precommit does
2023-05-09 09:41:40 +01:00
MatthewCroughan
28af0a2100
nix: add defaultText to services.lnbits.package (#803)
Without this, evaluating the module doesn't provide a default value visible on search.nixos.org
2022-08-03 09:52:04 +02:00
matthewcroughan
984f06239f nix: remove forAllSystems from nixosModule
This causes lnbits.nixosModules.default to exist, rather than
lnbits.nixosModules.aarch64-linux.default. The latter was a mistake.
2022-07-14 05:32:16 +01:00
matthewcroughan
6aa8330dc3 Start using Nix as a reproducible build tool 2022-07-08 11:06:26 +01:00