mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
cf79fa1753c851896696ed4c029a91b40755dacd
6
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
138fa6d844 |
flake.lock: Update (#4381)
Flake lock file updates:
• Updated input 'devenv':
'github:cachix/devenv/006016cf4191c34c17cfdb6669e0690e24302ac0?narHash=sha256-3vhSEs2ufSvv2Oct8G9CWEPFI57c4NAZ2wR2accHELM%3D' (2024-10-20)
→ 'github:cachix/devenv/741e23a22f3dc9e53075be3eaa795ea9ed6f5129?narHash=sha256-WXlcDNMaMJeI4JO4VfQM2ZZCBJBds7j7N04tS9UjiYU%3D' (2024-11-22)
• Updated input 'devenv/cachix':
'github:cachix/cachix/695525f9086542dfb09fde0871dbf4174abbf634?narHash=sha256-jOsaBmJ/EtX5t/vbylCdS7pWYcKGmWOKg4QKUzKr6dA%3D' (2024-09-16)
→ 'github:cachix/cachix/aac51f698309fd0f381149214b7eee213c66ef0a?narHash=sha256-KxuGSoVUFnQLB2ZcYODW7AVPAh9JqRlD5BrfsC/Q4qs%3D' (2024-10-11)
• Updated input 'devenv/cachix/devenv':
'github:cachix/devenv/ff5eb4f2accbcda963af67f1a1159e3f6c7f5f91?narHash=sha256-0JrfahRMJ37Rf1i0iOOn%2B8Z4CLvbcGNwa2ChOAVrp/8%3D' (2024-08-08)
→ follows 'devenv'
• Removed input 'devenv/cachix/devenv/cachix'
• Removed input 'devenv/cachix/devenv/cachix/devenv'
• Removed input 'devenv/cachix/devenv/cachix/devenv/flake-compat'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix/flake-compat'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix/nixpkgs-regression'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/flake-utils'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/flake-utils/systems'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/nix-github-actions'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/nix-github-actions/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/pre-commit-hooks'
• Removed input 'devenv/cachix/devenv/cachix/flake-compat'
• Removed input 'devenv/cachix/devenv/cachix/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/pre-commit-hooks'
• Removed input 'devenv/cachix/devenv/flake-compat'
• Removed input 'devenv/cachix/devenv/nix'
• Removed input 'devenv/cachix/devenv/nix/flake-compat'
• Removed input 'devenv/cachix/devenv/nix/nixpkgs'
• Removed input 'devenv/cachix/devenv/nix/nixpkgs-regression'
• Removed input 'devenv/cachix/devenv/nixpkgs'
• Removed input 'devenv/cachix/devenv/pre-commit-hooks'
• Updated input 'devenv/cachix/flake-compat':
follows 'devenv/flake-compat'
→ follows 'devenv'
• Updated input 'devenv/cachix/git-hooks':
follows 'devenv/pre-commit-hooks'
→ follows 'devenv'
• Updated input 'devenv/cachix/nixpkgs':
follows 'devenv/nixpkgs'
→ 'github:NixOS/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d?narHash=sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY%3D' (2024-11-02)
• Added input 'devenv/git-hooks':
'github:cachix/git-hooks.nix/af8a16fe5c264f5e9e18bcee2859b40a656876cf?narHash=sha256-W1MIJpADXQCgosJZT8qBYLRuZls2KSiKdpnTVdKBuvU%3D' (2024-10-30)
• Added input 'devenv/git-hooks/flake-compat':
follows 'devenv'
• Added input 'devenv/git-hooks/gitignore':
'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394?narHash=sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs%3D' (2024-02-28)
• Added input 'devenv/git-hooks/gitignore/nixpkgs':
follows 'devenv/git-hooks/nixpkgs'
• Added input 'devenv/git-hooks/nixpkgs':
follows 'devenv/nixpkgs'
• Added input 'devenv/git-hooks/nixpkgs-stable':
follows 'devenv'
• Updated input 'devenv/nix/flake-compat':
follows 'devenv/flake-compat'
→ follows 'devenv'
• Updated input 'devenv/nix/nixpkgs-23-11':
'github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446?narHash=sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw%3D' (2024-05-31)
→ follows 'devenv'
• Updated input 'devenv/nix/nixpkgs-regression':
'github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2?narHash=sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw%3D' (2022-01-24)
→ follows 'devenv'
• Updated input 'devenv/nix/pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/40e6053ecb65fcbf12863338a6dcefb3f55f1bf8?narHash=sha256-nMirxrGteNAl9sWiOhoN5tIHyjBbVi5e2tgZUgZlK3Y%3D' (2024-04-12)
→ follows 'devenv'
• Removed input 'devenv/nix/pre-commit-hooks/flake-compat'
• Removed input 'devenv/nix/pre-commit-hooks/flake-utils'
• Removed input 'devenv/nix/pre-commit-hooks/gitignore'
• Removed input 'devenv/nix/pre-commit-hooks/nixpkgs'
• Removed input 'devenv/nix/pre-commit-hooks/nixpkgs-stable'
• Removed input 'devenv/pre-commit-hooks'
• Removed input 'devenv/pre-commit-hooks/flake-compat'
• Removed input 'devenv/pre-commit-hooks/gitignore'
• Removed input 'devenv/pre-commit-hooks/gitignore/nixpkgs'
• Removed input 'devenv/pre-commit-hooks/nixpkgs'
• Removed input 'devenv/pre-commit-hooks/nixpkgs-stable'
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01)
→ 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/bc947f541ae55e999ffdb4013441347d83b00feb?narHash=sha256-NOiTvBbRLIOe5F6RbHaAh6%2B%2BBNjsb149fGZd1T4%2BKBg%3D' (2024-10-04)
→ 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5?narHash=sha256-6jWSWxv2crIXmYSEb3LEVsFkCkyVHNllk61X4uhqfCs%3D' (2024-10-18)
→ 'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f?narHash=sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw%3D' (2024-11-22)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
||
|
|
dffdea99ef |
refactor: Cleanup nix code (#4265)
* refactor: Extract package creation to separate flake-module * refactor: move module.nix to nix folder * refactor: extract checks into their own flake module * refactor: extract devShell into its own flake module * refactor: Extract nix dev dependencies to a separate partition * fix: spelling error * fix: Checks break on darwin Looks like `mkIf` doesn't work properly with flake-parts/perSystem * fix: Remove partitions to make `devenv up` work RIP partitions :( * style: linter findings --------- Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de> |
||
|
|
fdf8185ce2 |
ci: add treefmt as code formatting multiplexer, refactor CI to avoid duplication, reorg CI into DevOps workflow (#4219)
* ci: add treefmt as code formatting multiplexer * style: linter findings in entrypoint.sh script * style: linter findings for yaml and yml * style: linter findings for json files * style: linter findings for nix files * style: linter findings for js files * style: linter findings for dashboards.sh * style: linter findings for md and mdx files * chore: remove unused clang formatter in treefmt config * style: linter findings for mdx files * ci: exclude Grafana dashboard JSON files from prettier formatting * Revert "style: linter findings for json files" This reverts commit |
||
|
|
a4f47518d8 |
fix: Avoid the need for impure for devenv (#4245)
Based on https://github.com/cachix/devenv/pull/1018/files |
||
|
|
e5b2c12449 |
Update to latest devenv in nix flake (#3760)
Latest version - after rewrite in Rust - just released yesterday is much nicer and has fewer bugs. For example, it now uses process-compose which is full screen interface for showing running processes. Blog post: https://devenv.sh/blog/2024/03/20/devenv-10-rewrite-in-rust/ |
||
|
|
2b5cdbdffd |
Add nix flake (#3485)
This will add support for nix flakes. Which really helps with my development on nixos. This has two basic parts: 1. DEVELOPMENT After this you can use the following commands on computer with nix and a patched version of direnv: direnv allow devenv up And it will automatically start and instance of postgresql and mosquitto for development. And the environment variables are already configured for teslamate. So then can start teslamate with: npm install --prefix ./assets && npm run deploy --prefix ./assets iex -S mix phx.server This part is all working as designed. And pretty simple and straight forward. 2. NIX PACKAGE OF TESLA This is 99% complete, but some pain points I haven't addressed yet. Because I don't yet know of good solutions. * There are two checksums in flake.nix that needs to be updated whenever mix.lock or package-lock.json changes. |