chore: add devtools, lefthook, changelog etc.

This commit is contained in:
technofab 2026-04-29 13:09:45 +02:00
parent 097f775cff
commit 6b0680673d
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
8 changed files with 437 additions and 50 deletions

25
.gitlab/renovate.json5 Normal file
View file

@ -0,0 +1,25 @@
{
"extends": [
"config:recommended"
],
"gitlabci": {
"enabled": false
},
"lockFileMaintenance": {
"branchTopic": "lock-file-maintenance-{{packageFile}}",
"commitMessageExtra": "({{packageFile}})",
"enabled": true,
"extends": [
"schedule:monthly"
]
},
"nix": {
"enabled": true
},
"postUpgradeTasks": {
"commands": [
"nix-portable nix run .#soonix:update"
],
"executionMode": "branch"
}
}

268
CHANGELOG.md Normal file
View file

@ -0,0 +1,268 @@
# Changelog
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
- - -
## [v3.1.2](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v3.1.1..v3.1.2) - 2026-04-29
#### Bug Fixes
- (**modules**) fold was deprecated, replace with foldr - ([8eadfb5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/8eadfb56ba2fc2acd0689adef8f0b214f0a7c82a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- bump version - ([8f88a53](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/8f88a53b5479773cd626420362631bc1da99e677)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- update flakes - ([555ae3d](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/555ae3de29c5edfaf2b11e122d0309d1f201fe62)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v3.1.1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v3.1.0..v3.1.1) - 2026-04-29
#### Bug Fixes
- (**modules/job**) fix variables with nix store paths getting dropped - ([1e9ddff](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/1e9ddff3003c1a1a349bc74b95ad222b288e3f3b)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- bump version - ([8a77208](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/8a77208ebe29fe7b3ba60bec3d48868049f93013)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v3.1.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v3.0.1..v3.1.0) - 2026-04-29
#### Bug Fixes
- (**helpers**) use builtin nix store location indicator - ([d0662e3](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/d0662e31851ccb33d38a82938f2042fe013ecc33)) - Skryta Istota
- (**jobPatched**) handle non-nix jobs correctly - ([97fb4fa](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/97fb4fafc3edb77b2bbfcf264be40e5b30b058af)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Continuous Integration
- fix oci image used for dog fooding & forks - ([96e6fe5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/96e6fe59bffec37e89ef38d78d50c0a3de43ea44)) - Skryta Istota
#### Miscellaneous Chores
- bump version - ([59f8bd1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/59f8bd169ae2733238455899fb3bace9cab99ff7)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add test and docs for handling nix store paths in global variables - ([1c9e7c7](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/1c9e7c77c5f17c6f15bc6b0f705b551ac5b70e2b)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v3.0.1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v3.0.0..v3.0.1) - 2026-04-29
#### Bug Fixes
- (**job**) use unmodified job for mkJobRun - ([afe1e02](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/afe1e02310de93395e8d6a94d17acb0c60f85b42)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**sandbox_helper**) fix comparisons, rename TMPDIR variable, add help - ([f5181b7](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/f5181b7b611204353b688cb557ade99426d2b01f)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- bump version - ([524bdf9](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/524bdf9cdcfb8008c08d7e54a95992ebf05331d5)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- alias original pipeline source & document component issue - ([fa33f6e](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/fa33f6e0b71d0a2d733c5ad08c2ea9a99a2b7374)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v3.0.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v3.0.0-alpha.3..v3.0.0) - 2026-04-29
#### Miscellaneous Chores
- bump version - ([7cb73d2](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/7cb73d23190502a7e7a124c4c73bcedf1d45398a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- remove old files in preparation for rewrite - ([0466564](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/046656458b4cbd9d84ef5a5906f30ac303bc9c8e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v3.0.0-alpha.3](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v3.0.0-alpha.2..v3.0.0-alpha.3) - 2026-04-29
#### Features
- implement all (?) ci yaml keywords - ([0cca02f](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/0cca02f4425d0e6104cd2ce000316a61141e4bde)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Documentation
- use svg logo, add style.css and fix sitemap - ([e752f71](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/e752f71dd17c89836220237033fcf6dff2bbf01c)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**repo**) update nixmkdocs - ([428afaf](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/428afaf603b91a83833d93561e680f054d087d18)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- bump version - ([d88ada2](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/d88ada2c41ae05b08d7ec644a4d222e93fff78ae)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v3.0.0-alpha.2](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v3.0.0-alpha.1..v3.0.0-alpha.2) - 2026-04-29
#### Bug Fixes
- (**ci**) only specify component version once - ([6cd05e5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/6cd05e503a1946301ff3d9e25ee87fb52e056c0c)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**jobPatched**) fix variables not being unset if all contain store paths - ([31f0e4e](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/31f0e4ea13c182d74121419e9f85312d9242eb46)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**module**) default image to $NIX_CI_IMAGE - ([4d82490](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/4d824900d4f2f5ac59df444b33f1c13200f35e3a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**sandbox_helper**) fix TMPDIR being initialized too late and thus removing /tmp - ([cf04bf5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/cf04bf53572bc36588348a5ec368d72cea93f05b)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**CI**) modify cache_files and add ssl ca certs to test job - ([a076f00](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a076f0048a640ed35c27a97479e93cd47388c83f)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**ci**) try setting ssl env vars in the test directly (cuz pure mode) - ([2a0a3f5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/2a0a3f5881526a7272796baec0a436fe0c8b0ddc)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- bump version - ([00cf5b8](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/00cf5b83c6c46698fba12a54b9cc15c6d4e5a4dd)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- better solution for handling store paths in variables - ([5e2ae29](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/5e2ae29660ef02abd65bd54bf295f7af3bebcb44)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v3.0.0-alpha.1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v2.1.0..v3.0.0-alpha.1) - 2026-04-29
#### Features
- initial v3 rewrite - ([0952ab4](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/0952ab414561fcadc0ffb5051f5c29456c0df789)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- customizable CI stages - ([625fe73](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/625fe732b55d555d82d7c949aa66c2017f650c88)) - Alessio Caiazza
#### Documentation
- add remaining docs back with some additions/improvements - ([0bd75fd](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/0bd75fd1bb9b60ebebfb810600b9cb0fdb988967)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- improve option descriptions - ([cad4072](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/cad40720a6f824894070525aaadd57b731e42482)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add initial docs setup - ([e7f7043](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/e7f7043012b33455db83bfcdf701e8b069bc1a7c)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add improved README.md - ([aa1abf9](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/aa1abf945e35f4e3cb1675515d596d3d0432e1c2)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Tests
- copy over most tests, add new tests for soonix - ([436e2fd](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/436e2fde2527fa9803df3adb6ebef930526be893)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add basic test for flakeModule functionality - ([e074d71](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/e074d716c43189d440c9a6ea3a39e7f7bc77cbe6)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**repo**) update nixtest - ([c4a439b](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/c4a439b839e5408504fb2f7cab1ecbb18b54309e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**repo**) add soonix to generate .gitlab-ci.yml - ([6e4347a](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/6e4347af6952d1449c4d46af2409aa706619d230)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- reformat - ([f147295](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/f147295418b1267fada44d77cbbc9aa12a3629ac)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add examples for flake-parts and rensa-nix - ([46bb4fe](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/46bb4fe455470971478b8db04955e1363bc203d6)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add LICENSE - ([537d5c7](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/537d5c7c87ba921418c6540750be78dcfea31c99)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v2.1.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v2.0.2..v2.1.0) - 2026-04-29
#### Bug Fixes
- (**sandbox_helper**) remove '' - ([df35d61](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/df35d61170c5dcbb2e64fd5fdcd3d449335231e9)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Continuous Integration
- update test snapshots - ([95d7a95](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/95d7a950b94909a66dcee2bc91f12ae54a9e6532)) - TECHNOFAB
#### Miscellaneous Chores
- (**flake**) update nixtest - ([69e0f7a](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/69e0f7a4191112f265300e91d9ef8fa662da943a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- split everything up into their own files & add a bunch of tests - ([2f197d2](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/2f197d2c50343c805b6859c04e46624e07d6847d)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v2.0.2](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v2.0.1..v2.0.2) - 2026-04-29
#### Features
- improve running jobs locally by adding a simple sandbox - ([f9c009c](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/f9c009c4506975b2af422091ac47e1a715b94329)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v2.0.1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v2.0.0..v2.0.1) - 2026-04-29
#### Bug Fixes
- (**flakeModule**) use default shell for stdenvMinimal for max compatibility - ([dca2d72](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/dca2d724c155799e537a898cb9f948f8afae4921)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**flakeModule**) use bash for stdenvMinimal - ([11537ae](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/11537ae271158319426250c77ae8866318ad5fd2)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Continuous Integration
- add nixtest job - ([8e50828](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/8e50828a2e837a36225d531816ac4fcc040e4144)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v2.0.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v1.1.1..v2.0.0) - 2026-04-29
#### Features
- (**v2**) initial v2 implementation - ([586fb88](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/586fb88b9d51a662431a4281a2f66274b1d2c919)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Bug Fixes
- (**ci**) update artifact name in trigger job aswell - ([55f90b4](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/55f90b4261827ea0be98819ca08d9586fee8fee0)) - TECHNOFAB
- (**ci**) fix artifact path - ([ebc70d5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/ebc70d5c18b7f0f7e02845582f1cd177f6e95dc6)) - TECHNOFAB
- (**ci**) build correct package and hopefully handle cache issues - ([2441422](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/244142274daf54cc61b58822b5187da1d07c762e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**ci**) work around gitlab's variable substitution limitations - ([7569fcd](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/7569fcd0863589520ecbef48f0f8f65470e30776)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**ci**) image seems quite important ngl - ([b4071d4](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/b4071d41715824093d09fe0948765e56fdc37616)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**ci**) install buildah in the correct job - ([9d28984](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/9d289842615d2c19ade60db0558a2f2ce0a81255)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**image**) switch from busybox to coreutils - ([7cbd273](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/7cbd273de7669e243316f9a42f0d00c92da5593a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**image**) fix digest being different for every arch aswell - ([b0d24f7](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/b0d24f753c1047cd68e97f05658e9aceabb83f1b)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**module**) rename variable - ([dab96d0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/dab96d0acdc8707208f632878fae766e16e9cbdf)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**module**) prevent parameter expansion when generating pipeline config - ([36c4fc0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/36c4fc0fd6433b833e08f49bd32d2d45e591efd2)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**script**) quote NEW_PATHS to preserve newlines - ([b193df3](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/b193df30f4a61532f4a056cd759263f2ce453ead)) - TECHNOFAB
- (**scripts**) remove nix substitutions from shell script - ([a458a21](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a458a21c7bfacd68f63fa85a19bfc4c8dbbcd20e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**template**) overriding default variables in child pipeline - ([62e465c](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/62e465c09488fbe0b845b769f986e37d1b8342da)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- finalize_nix_ci echo added space to last derivation, fixed with -n - ([9cb54b3](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/9cb54b33e82ebf2d5b582b244f39332f0e55b3f3)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- update flake inputs to be able to fix docker image archs being swapped - ([14530f8](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/14530f8e9edc9cadc097e3b1f5188f6db0d28320)) - TECHNOFAB
- use new format of specifying version - ([786abd9](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/786abd917cb10c1c6d5d5327b5493d4dfb1f9e65)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Documentation
- (**readme**) update usage infos - ([6fa2806](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/6fa28062191beeb36ba305ef53086ed1c39ebc3e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- write docs & improve tooling - ([cf80010](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/cf80010d07e32df7f707ca41461d158163b0733a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Refactoring
- (**flake**) move setup and finalize script to separate files - ([1e978a3](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/1e978a3edf61b224a958a9ad1d25edf7d3f2c0ca)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**template**) get rid of rules and work around limitations in a new way - ([f1b8b5a](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/f1b8b5a210a71ce40a3abdf5f3ca0db0fd59ee97)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**flake**) collapse nix ci top level section again for less clutter - ([a5fba6d](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a5fba6d27d7ccfc8e159f51f4412843cae14fe44)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**module**) slim down pipeline yaml generation even more - ([060d8fa](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/060d8fad47b51fcaa2319d15279c0b7ef99e7e31)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**scripts**) improve cache strategy handling, see #21 - ([d734853](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/d73485322345297b321fcfd02c618b88c1f2d85e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**template**) skip checking if pipeline exists, just fail if not - ([7a40a68](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/7a40a68a10fe936847b414093f350e826342ce2d)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- update nixpkgs - ([fa6c454](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/fa6c454b1440cb7728f9eb630493194765e04aee)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- slim down job-deps as much as possible - ([8dc2e7d](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/8dc2e7d772e87d3a5c9e05e599ae831e42721a91)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- ![BREAKING](https://img.shields.io/badge/BREAKING-red) remove deprecated template - ([2bed419](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/2bed4190a4c3fd4fb3a76ba66b6e18019893369a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- rename env variables back to non-_ versions - ([a63376e](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a63376edf15eeeca477afbbdea429f9a01ef4a58)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- improve nix-ci:build build time by using only builtins.toJSON - ([fa6c098](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/fa6c098e0227a79accdf550d7642781603d476b3)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- improve "default" handling & caching - ([85431f7](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/85431f78aa88dfab9bc3d179c5c753a5ec60ce11)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- ![BREAKING](https://img.shields.io/badge/BREAKING-red) rename NIX_CI_SKIP_CACHE → NIX_CI_FORCE_BUILD - ([016e6c9](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/016e6c9dc70c337aa8e0a9add221dd1b1abb43bb)) - TECHNOFAB
- - -
## [v1.1.1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v1.1.0..v1.1.1) - 2026-04-29
#### Bug Fixes
- (**ci-component**) honor NIX_CI_DISABLE_CACHE correctly - ([1101989](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/1101989255903a1f20781e007da3b313b9277173)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v1.1.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v1.0.3..v1.1.0) - 2026-04-29
#### Features
- (**module**) improve ability to run jobs locally - ([25e5b44](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/25e5b44a6dfc19505a54b939498dc51c27a1acac)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Bug Fixes
- (**module**) append "finalize_nix_ci" to after_script, not prepend - ([532fb80](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/532fb8002c441d38ae7943e4366fe2c1dfa0c862)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**LICENSE**) use markdown for better readability - ([50f0184](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/50f0184a7b6e71de301911b5a9da17aa5057186d)) - TECHNOFAB
- (**README**) bump component version - ([553b829](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/553b829af0f38c5aefb2114ffbf7f382dcc77acd)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**image**) pass all store paths at once via stdin to nix copy - ([90a4079](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/90a407920040c95e2a279ac55879ccc520c6ee36)) - TECHNOFAB
- (**module**) add packages to legacyPackages instead - ([856924a](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/856924acdf0450c870897f7928d1e5f405b25f98)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- update flake inputs and use attic-client from nixpkgs - ([026a754](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/026a7549dfb4691979f8bfe354e531ca70ccbb64)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add additional NIX_CONFIG var & reformat - ([a85c4e4](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a85c4e49fe3cc1fb0060334c0adf3b2f453ee626)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add LICENSE - ([691a0aa](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/691a0aac7956ada011e3fd3a01bd5d3ae850270b)) - TECHNOFAB
- - -
## [v1.0.3](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v1.0.2..v1.0.3) - 2026-04-29
#### Bug Fixes
- (**basic-image**) append ^* to .drv entries to prevent warnings - ([ec279ae](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/ec279ae31ee77704d0d1eb3c10c0141f6a72b7e0)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Documentation
- (**README**) document running jobs locally - ([67d75bd](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/67d75bd167813fe81af7b80aba86a9fe67e042ff)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Continuous Integration
- improve dogfooding by using the CI built images directly - ([a222585](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a22258583de9bd0d2558821d40d98a5e4fc1f7c6)) - TECHNOFAB
#### Miscellaneous Chores
- (**CI**) use image built in parent pipeline for dogfooding here aswell - ([a47ec8c](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a47ec8cbeb634281ab8400ce0e7f269748c38d58)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**README**) bump component version - ([81b497d](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/81b497d9764c0dc2aa7a351f70690f35f0eaccb3)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v1.0.2](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v1.0.1..v1.0.2) - 2026-04-29
#### Bug Fixes
- (**utils**) migrate utils to the new syntax aswell - ([fdb6193](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/fdb6193ef1053b7a7a86b6b84ec8c9b697960854)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**README**) bump component version - ([2807263](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/28072631e73e1dd362b5d7d292ca197ff744b77b)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v1.0.1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v1.0.0..v1.0.1) - 2026-04-29
#### Bug Fixes
- allow jobs to omit the "nix" option - ([0f62d5e](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/0f62d5e8221e9462d731aa57270258f00cd63965)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**README**) bump component version - ([6448bf5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/6448bf59164a2e66aa8bfe5ed8e128ce9f4a4a8e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v1.0.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v0.3.0..v1.0.0) - 2026-04-29
#### Features
- improve caching - ([78e6c5e](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/78e6c5e278f357f427695f9c4f10349a7a703e20)) - TECHNOFAB
#### Miscellaneous Chores
- (**README**) bump component version - ([854dfb6](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/854dfb6a904e37bbb52c232f583b737e826754cd)) - TECHNOFAB
- - -
## [v0.3.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v0.2.0..v0.3.0) - 2026-04-29
#### Miscellaneous Chores
- (**CI**) build image on tag & tag images with short sha instead of date - ([a2a7f7c](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/a2a7f7c4eddd03a2582892ab66b258f913fdbe0e)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**README**) bump component version - ([39748cb](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/39748cb380c55613937f238405bf318b7d92eb9e)) - TECHNOFAB
- add treefmt and format files - ([97f49cb](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/97f49cbdf68788878e5cbc91b7f4395dd55482ae)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
## [v0.2.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/v0.1.0..v0.2.0) - 2026-04-29
#### Features
- add CI Component template - ([4e039a6](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/4e039a6b92bd8f9add4de14f46f6e9a11a3a6d6a)) - TECHNOFAB
- - -
## [v0.1.0](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/compare/0df36ad437cb4e6f3ca3577987add2b9616bd8f1..v0.1.0) - 2026-04-29
#### Features
- add assertion to check if a job's stage exists - ([533bd2e](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/533bd2eef5f08da8076524fce0f0c9e1b7e00b42)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add support for nix store paths in variables - ([e3b35ec](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/e3b35ec8ae377e95ec5e9db7566a6a684029dca8)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- split lib and utils into separate flake - ([f361878](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/f361878e130454c21b6e0eca8a85a3cd704ba8c1)) - TECHNOFAB
- caching support - ([3a05d7a](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/3a05d7a12829bedda7a864c87fe11f35365fce2a)) - TECHNOFAB
- add utilities - ([7cd9c57](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/7cd9c571fef9b05e6b3dab4c3deb66dff5754bf2)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Bug Fixes
- (**gitlab-ci-config**) filter out any unset (null) values - ([ff363cb](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/ff363cb1655e6ded8f127e626ef9aa1f51bec3c3)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**image**) use nix-flakes to get the newest nix version - ([1b6ecec](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/1b6ecec5c16787c26dd939a3a19f2cf30de9f785)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**module**) fix before_script not getting appended if it exists - ([b1117dd](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/b1117dd62042171c05f95f1297fd0a3fff23d64f)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- (**utils**) create ~/.ssh/known_hosts if it does not exist - ([426d897](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/426d89702aafaff901f95083ed9bbce9025d17d6)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- allow rules to contain attrs - ([c272bfd](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/c272bfd81206a2888920258ea6620fd7f5ed4f7c)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- typo - ([d26ead5](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/d26ead5f0b023156dcf59fbcf904a1c3ae5bd736)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add most gitlab options - ([262729e](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/262729e9bb1622589400d96ca0222545fc68e568)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- rules are a list of attrs - ([3161819](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/3161819c57e393ecdcd0a4d74c1c90ff4dfafca7)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add artifacts option - ([3413fc3](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/3413fc36399a38e04a800ca31d4961e64e16500f)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- repository name must be lowercase - ([77fded1](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/77fded1940bd01f2e38ec8fe69249a624a1bc9de)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add `when` and `start_in` option - ([f348583](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/f3485837cec0a4e8a695c78979ece8273cb0b784)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Documentation
- (**README**) adjust input url for new lib flake - ([ed80957](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/ed80957884b0f5b4317dd0e9d8b26aa73359b747)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**utils**) fix before_script getting overwritten and add collapsible sections - ([f460960](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/f460960ce693d0c5e692bc6c7828bd9d3a87b46c)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- update gitlab-ci.yml and only load job deps if name was passed to setup_nix_ci - ([93baeca](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/93baeca411895a04b6712481289b7cfe76d11680)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add grep to images - ([12e55ad](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/12e55ad0b7f6263f61abff0a4486d534779cadc0)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- add README - ([1b963cb](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/1b963cb64182ef40d4f4db68a80938728496565a)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- initial commit - ([0df36ad](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/commit/0df36ad437cb4e6f3ca3577987add2b9616bd8f1)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
- - -
Changelog generated by [cocogitto](https://github.com/cocogitto/cocogitto).

7
flake.lock generated
View file

@ -37,16 +37,17 @@
},
"locked": {
"dir": "lib",
"lastModified": 1758738378,
"narHash": "sha256-NjzqdvQCDDdObEBH8x/vdhbdhrIB+N9E570uCdksGHY=",
"lastModified": 1775132170,
"narHash": "sha256-ZhXcliu8E1KXlaviFnMHQpb/VSIbsALSFZoeb9Z6bhc=",
"owner": "rensa-nix",
"repo": "core",
"rev": "abe19f9f13aff41de2b63304545c87d193d19ef4",
"rev": "bfdb2c1aa85cd4af286b0833b046e13a96d64d6a",
"type": "gitlab"
},
"original": {
"dir": "lib",
"owner": "rensa-nix",
"ref": "v0.2.0",
"repo": "core",
"type": "gitlab"
}

View file

@ -1,7 +1,7 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
ren.url = "gitlab:rensa-nix/core?dir=lib";
ren.url = "gitlab:rensa-nix/core/v0.2.0?dir=lib";
};
outputs = {
@ -18,13 +18,6 @@
// {
pkgs = import i.nixpkgs {inherit system;};
};
cellBlocks = with ren.blocks; [
(simple "devShells")
(simple "pkgs")
(simple "tests")
(simple "docs")
(simple "ci")
];
}
{
packages = ren.select self [

View file

@ -3,33 +3,71 @@
inputs,
...
}: let
inherit (inputs) pkgs devshell treefmt soonix;
inherit (cell) ci;
inherit (inputs) pkgs devshell treefmt devtools-lib;
inherit (cell) soonix;
treefmtWrapper = treefmt.mkWrapper pkgs {
projectRootFile = "flake.nix";
programs = {
alejandra.enable = true;
deadnix.enable = true;
statix.enable = true;
mdformat.enable = true;
yamlfmt.enable = true;
};
settings.formatter = {
yamlfmt.excludes = ["templates/nix-gitlab-ci.yml" ".gitlab-ci.yml"];
mdformat = {
excludes = ["CHANGELOG.md"];
command = let
pkg = pkgs.python3.withPackages (p: [
p.mdformat
p.mdformat-mkdocs
]);
in "${pkg}/bin/mdformat";
};
};
};
in {
default = devshell.mkShell {
imports = [soonix.devshellModule];
imports = [soonix.devshellModule devtools-lib.devshellModule];
packages = [
pkgs.nil
(treefmt.mkWrapper pkgs {
programs = {
alejandra.enable = true;
deadnix.enable = true;
statix.enable = true;
mdformat.enable = true;
yamlfmt.enable = true;
};
settings.formatter = {
yamlfmt.excludes = ["templates/nix-gitlab-ci.yml" ".gitlab-ci.yml"];
mdformat.command = let
pkg = pkgs.python3.withPackages (p: [
p.mdformat
p.mdformat-mkdocs
]);
in "${pkg}/bin/mdformat";
};
})
treefmtWrapper
];
soonix.hooks."ci" = ci.soonix;
lefthook.config = {
"pre-commit" = {
parallel = true;
jobs = [
{
name = "treefmt";
stage_fixed = true;
run = "${treefmtWrapper}/bin/treefmt";
env.TERM = "dumb";
}
{
name = "soonix";
stage_fixed = true;
run = "nix run .#soonix:update";
}
];
};
};
cocogitto.config = {
tag_prefix = "v";
ignore_merge_commits = true;
changelog = {
authors = [
{
username = "TECHNOFAB";
signature = "technofab";
}
];
path = "CHANGELOG.md";
template = "remote";
remote = "gitlab.com";
repository = "nix-gitlab-ci";
owner = "TECHNOFAB";
};
};
};
}

47
nix/repo/flake.lock generated
View file

@ -3,33 +3,53 @@
"devshell-lib": {
"locked": {
"dir": "lib",
"lastModified": 1758204313,
"narHash": "sha256-ainbY0Oajb1HMdvy+A8QxF/P5qwcbEzJGEY5pzKdDdc=",
"lastModified": 1767218348,
"narHash": "sha256-8MJqwH9sRMuHH+RsB7iqWyWD30TgmpiYKEvegAULggs=",
"owner": "rensa-nix",
"repo": "devshell",
"rev": "7d0c4bc78d9f017a739b0c7eb2f4e563118353e6",
"rev": "7a9b7e5d9f162a1fa3edfdc0169cdc29d3a67f8e",
"type": "gitlab"
},
"original": {
"dir": "lib",
"owner": "rensa-nix",
"ref": "v0.1.0",
"repo": "devshell",
"type": "gitlab"
}
},
"devtools-lib": {
"locked": {
"dir": "lib",
"lastModified": 1767214272,
"narHash": "sha256-gvW7flZ60xdv3Z3Ksec5jcRjW2sqRHsGoJdwsNWQVPk=",
"owner": "rensa-nix",
"repo": "devtools",
"rev": "f40e59c32c48cdbf4cbc621c2f0f11e7bb80dbd3",
"type": "gitlab"
},
"original": {
"dir": "lib",
"owner": "rensa-nix",
"ref": "v0.1.0",
"repo": "devtools",
"type": "gitlab"
}
},
"nixmkdocs-lib": {
"locked": {
"dir": "lib",
"lastModified": 1763481845,
"narHash": "sha256-Bp0+9rDmlPWMcnKqGx+BG4+o5KO8FuDAOvXRnXrm3Fo=",
"lastModified": 1767549915,
"narHash": "sha256-by3r2qddlyzylup5fzSaDwtoy3eFHNKb65IuIq6bsAs=",
"owner": "TECHNOFAB",
"repo": "nixmkdocs",
"rev": "73d59093df94a894d25bc4bf71880b6f00faa62f",
"rev": "f3b2f4b19178e97c5580367be0f97e61a085db6d",
"type": "gitlab"
},
"original": {
"dir": "lib",
"owner": "TECHNOFAB",
"ref": "v1.1.0",
"repo": "nixmkdocs",
"type": "gitlab"
}
@ -37,16 +57,17 @@
"nixtest-lib": {
"locked": {
"dir": "lib",
"lastModified": 1759340550,
"narHash": "sha256-EH9heYb/nHHzCpUGQGqVQnuyVGQ7D6MVMgJmzNvvmJ8=",
"lastModified": 1775133683,
"narHash": "sha256-06jKKes7NjBQClKXTZTmo7GiGJhe1j5ZMW6jle8Vr1o=",
"owner": "TECHNOFAB",
"repo": "nixtest",
"rev": "5a7053afcbb211b9cf8fe87f7892bb9f6b76b678",
"rev": "143921cad9e6076700a45cdb7ff47c91f9801225",
"type": "gitlab"
},
"original": {
"dir": "lib",
"owner": "TECHNOFAB",
"ref": "v1.3.0",
"repo": "nixtest",
"type": "gitlab"
}
@ -54,6 +75,7 @@
"root": {
"inputs": {
"devshell-lib": "devshell-lib",
"devtools-lib": "devtools-lib",
"nixmkdocs-lib": "nixmkdocs-lib",
"nixtest-lib": "nixtest-lib",
"soonix-lib": "soonix-lib",
@ -63,16 +85,17 @@
"soonix-lib": {
"locked": {
"dir": "lib",
"lastModified": 1763323017,
"narHash": "sha256-MJyg37d+VMfRoFiVUj16FW+zkEwQXbgK9LoFF/SHoxA=",
"lastModified": 1769607658,
"narHash": "sha256-gF9/QmmaNRgqkC5cqSGgwWvGXj9Mj4qMDkvvF/5BlSA=",
"owner": "TECHNOFAB",
"repo": "soonix",
"rev": "078034b01e4eaf1f9436d46721f7cbe0d96eb8b4",
"rev": "19a88a0c2681bbc85bc2cbe4f2860316d50fe957",
"type": "gitlab"
},
"original": {
"dir": "lib",
"owner": "TECHNOFAB",
"ref": "v0.2.0",
"repo": "soonix",
"type": "gitlab"
}

View file

@ -1,9 +1,10 @@
{
inputs = {
devshell-lib.url = "gitlab:rensa-nix/devshell?dir=lib";
nixtest-lib.url = "gitlab:TECHNOFAB/nixtest?dir=lib";
soonix-lib.url = "gitlab:TECHNOFAB/soonix?dir=lib";
nixmkdocs-lib.url = "gitlab:TECHNOFAB/nixmkdocs?dir=lib";
devshell-lib.url = "gitlab:rensa-nix/devshell/v0.1.0?dir=lib";
devtools-lib.url = "gitlab:rensa-nix/devtools/v0.1.0?dir=lib";
nixtest-lib.url = "gitlab:TECHNOFAB/nixtest/v1.3.0?dir=lib";
soonix-lib.url = "gitlab:TECHNOFAB/soonix/v0.2.0?dir=lib";
nixmkdocs-lib.url = "gitlab:TECHNOFAB/nixmkdocs/v1.1.0?dir=lib";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
flake = false;

38
nix/repo/soonix.nix Normal file
View file

@ -0,0 +1,38 @@
{
inputs,
cell,
...
}: let
inherit (inputs) soonix;
inherit (cell) ci;
in
(soonix.make {
hooks = {
ci = ci.soonix;
renovate = {
output = ".gitlab/renovate.json5";
data = {
extends = ["config:recommended"];
postUpgradeTasks = {
commands = [
"nix-portable nix run .#soonix:update"
];
executionMode = "branch";
};
lockFileMaintenance = {
enabled = true;
extends = ["schedule:monthly"];
branchTopic = "lock-file-maintenance-{{packageFile}}";
commitMessageExtra = "({{packageFile}})";
};
nix.enabled = true;
gitlabci.enabled = false;
};
hook = {
mode = "copy";
gitignore = false;
};
opts.format = "json";
};
};
}).config