Robert Hensing
6ac93cfc7f
Merge pull request #33 from edrex/patch-1
...
Set packages.default for `nix run`
2022-06-04 10:12:28 +02:00
Eric Drechsel
fe47133e9d
Set packages.default for nix run
...
With the pre-2.7 `defaultPackage` key, one would write
```
defaultPackage = packages.hello
```
I guess you can do the same in 2.7, but then you have two attrs in packages, which seems like it might confuse tooling:
```
packages.default = packages.hello
```
I wonder if packages.default shouldn't be a string? but then it would need validation...
2022-06-03 14:02:13 -07:00
Robert Hensing
7678eacc0c
Merge pull request #30 from hercules-ci/more-docs
...
More docs
2022-05-29 18:46:10 +02:00
Robert Hensing
f45a71bca6
Write a bit about integrations
2022-05-29 18:42:42 +02:00
Robert Hensing
d1095bd855
Add hercules-ci-effects doc
2022-05-29 18:30:11 +02:00
Robert Hensing
6463146449
Merge pull request #29 from hercules-ci/docs-pre-commit-hooks.nix
...
Add pre-commit-hooks.nix to the docs
2022-05-29 18:09:29 +02:00
Robert Hensing
5a628a0994
Add pre-commit-hooks.nix to the docs
...
Ultimately Hercules CI should take care of the dependency injection,
but let's make a start first.
2022-05-29 18:07:43 +02:00
Robert Hensing
88ee50725f
Merge pull request #27 from hercules-ci/dev-hercules-ci-effects-flakeModule
...
dev: Use hercules-ci-effects.flakeModule
2022-05-28 16:39:59 +02:00
Robert Hensing
8fe43d231b
dev: Use hercules-ci-effects.flakeModule
2022-05-28 16:38:26 +02:00
Robert Hensing
39a134713e
Merge pull request #26 from hercules-ci/format-options-html
...
Format options html
2022-05-28 12:51:07 +02:00
Robert Hensing
c2aa066381
Run basic deploy previews
2022-05-28 12:48:07 +02:00
Robert Hensing
0ea9e72c78
options.html: Self-linking headers
2022-05-28 12:44:33 +02:00
Robert Hensing
d0ed679646
options.html: Highlighting and max-width
2022-05-28 12:44:17 +02:00
Robert Hensing
31a16f6c78
Merge pull request #24 from hercules-ci/withSystem
...
Add `withSystem`
2022-05-28 12:43:36 +02:00
Robert Hensing
560ca44596
Document essential module parameters
2022-05-27 17:42:33 +02:00
Robert Hensing
19e19dce5a
Add withSystem parameter
2022-05-27 17:42:33 +02:00
Robert Hensing
c7d1a3d101
Merge pull request #23 from hercules-ci/overlays
...
flake.overlay -> flake.overlays (Nix 2.8)
2022-05-25 22:21:11 +02:00
Robert Hensing
ec760fc665
flake.overlay -> flake.overlays (Nix 2.8)
2022-05-25 19:53:10 +02:00
Robert Hensing
2d653e9425
Merge pull request #20 from hercules-ci/deferredModule
...
Deferred module
2022-05-25 18:33:15 +02:00
Robert Hensing
44c642cad6
Add ChangeLog
2022-05-25 18:31:55 +02:00
Robert Hensing
3ee82a16d6
perSystem: functionTo -> deferredModule
2022-05-25 18:18:50 +02:00
Robert Hensing
d5370c0774
Merge pull request #19 from hercules-ci/flake-parts
...
Flake modules core -> Flake parts
2022-05-25 16:41:28 +02:00
Robert Hensing
ef9773f880
Add .gitignore
...
Why didn't I do this yet?
2022-05-25 16:38:27 +02:00
Robert Hensing
0b16c1a766
Link generated docs
2022-05-25 16:38:27 +02:00
Robert Hensing
3beb704537
flake-modules-core -> flake-parts
2022-05-25 16:38:27 +02:00
Robert Hensing
98bc2676c4
Merge pull request #15 from hercules-ci/netlify-deploy
...
Deploy basic site with netlify
2022-05-25 16:27:46 +02:00
Robert Hensing
3ff2098da2
Improve option docs, update effect
2022-05-25 16:20:28 +02:00
Robert Hensing
13fc0c610b
Deploy basic site with netlify
2022-05-25 10:05:25 +02:00
bors[bot]
0263a393a2
Merge #17
...
17: introduce lib.mkFlake r=roberth a=zimbatm
This makes the most common use-case a tiny bit less verbose.
I didn't name it mkFlakeModule because it would be redundant with the project name.
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
2022-05-19 07:52:52 +00:00
Robert Hensing
b490d4886c
Merge branch 'main' into mkFlake
2022-05-19 09:52:27 +02:00
Robert Hensing
db611fc5ab
templates.multi-module: Use lib.mkFlake
2022-05-19 09:51:39 +02:00
Robert Hensing
bd6a7706e8
Add bors bot
2022-05-19 09:48:46 +02:00
Jonas Chevalier
55ee2b46b3
Update template/default/flake.nix
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-05-18 19:25:45 +02:00
zimbatm
ad19f920cf
introduce lib.mkFlake
...
This makes the most common use-case a tiny bit less verbose.
2022-05-18 14:11:08 +02:00
Robert Hensing
0f0b1633a6
Merge pull request #16 from hercules-ci/pkgs-argument
...
Add pkgs parameter to perSystem
2022-05-18 11:09:12 +02:00
Robert Hensing
1bd171ef6b
Add pkgs parameter to perSystem
2022-05-18 11:06:17 +02:00
Robert Hensing
cb99722a25
Merge pull request #14 from hercules-ci/polyfill-functionTo
...
Polyfill functionTo where it is pressing
2022-05-17 23:30:32 +02:00
Robert Hensing
3f25286e53
Polyfill functionTo where it is pressing
2022-05-17 23:21:05 +02:00
Robert Hensing
2553884888
Merge pull request #13 from hercules-ci/issue-12-mergeable-nixosConfigurations
...
Add nixosConfigurations
2022-05-17 11:03:10 +02:00
Robert Hensing
e1ea24ed30
Add nixosConfigurations
2022-05-17 11:01:40 +02:00
Robert Hensing
688243bcb8
Merge pull request #9 from hercules-ci/docs-and-ci
...
Docs and initial ci
2022-05-17 10:47:02 +02:00
Robert Hensing
62e39568d5
dev: Add nixpkgs-fmt to pre-commit
2022-05-17 10:37:27 +02:00
Robert Hensing
fcf9d5234b
dev: Add pre-commit-hooks.nix
2022-05-17 10:37:15 +02:00
Robert Hensing
3fe766e50c
Add inputs to specialArgs
2022-05-17 10:26:19 +02:00
Robert Hensing
f2f09d5752
dev/flake.nix: Explain why we only use inputs
2022-05-17 10:26:19 +02:00
Robert Hensing
140da4067f
Add local tooling and CI wiring without bloating flake.nix
2022-05-17 10:12:40 +02:00
Robert Hensing
1c0f8f3036
Move perSystem.packages into options
2022-05-17 10:12:13 +02:00
Robert Hensing
fdd87732fd
Move perSystem.legacyPackages into options
2022-05-17 10:12:13 +02:00
Robert Hensing
a329428f20
Move perSystem.devShells into options
2022-05-17 10:12:13 +02:00
Robert Hensing
ef93e89462
Move perSystem.apps into options
2022-05-17 10:12:13 +02:00