Robert Hensing
4944a920d2
formatter: Use markdown
2022-11-13 11:51:28 +01:00
Robert Hensing
a78bfeaa86
Revert "formatter: Use mkTransposedPerSystemModule"
...
This reverts commit e7da962abb
.
2022-11-13 11:50:16 +01:00
Robert Hensing
d8f05073ae
Remove redundant lib.mdDoc
2022-11-11 07:41:10 +01:00
Robert Hensing
6b87695050
Use markdown by default
2022-11-11 07:41:08 +01:00
Shea Levy
96c27dbba0
packages: Use mkTransposedPerSystemModule
2022-11-10 14:06:56 -05:00
Shea Levy
1e5e56e476
legacyPackages: Use mkTransposedPerSystemModule
2022-11-10 14:06:33 -05:00
Shea Levy
e7da962abb
formatter: Use mkTransposedPerSystemModule
2022-11-10 14:06:11 -05:00
Shea Levy
5e259eb312
devShells: Use mkTransposedPerSystemModule
2022-11-10 14:05:51 -05:00
Shea Levy
5bcff37bc1
checks: Use mkTransposedPerSystemModule
2022-11-10 14:05:14 -05:00
Shea Levy
40b344843d
apps: Use mkTransposedPerSystemModule
2022-11-10 14:04:40 -05:00
Robert Hensing
0c8eff7513
Add transposition.<name>.adHoc
2022-10-26 14:07:24 +02:00
Robert Hensing
6269836424
Generalize transposed attributes
2022-10-26 14:06:02 +02:00
Robert Hensing
79b42f0842
Remove dead code
...
The module system guarantees presence of these attrs.
2022-10-26 12:34:16 +02:00
Robert Hensing
e511bc4812
Remove redundant null filters
2022-09-28 19:13:41 +02:00
Jonas Chevalier
d6fdbbca37
Update modules/formatter.nix
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-09-20 15:53:52 +02:00
Jonas Chevalier
09bc19757c
Update modules/formatter.nix
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-09-20 15:53:47 +02:00
zimbatm
41ba43a33d
add formatter schema
...
This is needed for flakes that want to support `nix fmt`
2022-09-19 16:59:51 +02:00
Robert Hensing
89cce5852d
Merge pull request #48 from hercules-ci/moduleWithSystem
...
Add `moduleWithSystem` flake module parameter
2022-09-13 14:10:30 +02:00
Robert Hensing
e646df196a
Add moduleWithSystem flake module parameter
2022-09-13 13:56:21 +02:00
Robert Hensing
d254845ca8
legacyPackages: anything -> raw
...
The `anything` type is too strict, because it uses `attrsOf`
internally, filtering out `mkIf` attrs and therefore evaluating
attribute values when only the names would be needed.
Furthermore, it is not safe to make assumptions about the objects
in legacyPackages, because while most attributes contain packages
or package sets, anything is allowed, so we don't know for sure how
to merge.
Fixes #52
2022-08-20 17:13:55 +02:00
Lucas Desgouilles
690e548642
Skip getExe when app.<name>.program
is a string
2022-06-23 03:03:48 +02:00
Robert Hensing
19e19dce5a
Add withSystem parameter
2022-05-27 17:42:33 +02:00
Robert Hensing
ec760fc665
flake.overlay -> flake.overlays (Nix 2.8)
2022-05-25 19:53:10 +02:00
Robert Hensing
3ee82a16d6
perSystem: functionTo -> deferredModule
2022-05-25 18:18:50 +02:00
Robert Hensing
3beb704537
flake-modules-core -> flake-parts
2022-05-25 16:38:27 +02:00
Robert Hensing
1bd171ef6b
Add pkgs parameter to perSystem
2022-05-18 11:06:17 +02:00
Robert Hensing
e1ea24ed30
Add nixosConfigurations
2022-05-17 11:01: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
Robert Hensing
4835e05925
Move perSystem.checks into options
2022-05-17 10:12:13 +02:00
Robert Hensing
3149d748cb
Fix docbook syntax and literalExample deprecation
2022-05-17 10:12:13 +02:00
Robert Hensing
783e29f7dd
Add mkPerSystemType, mkPerSystemModule
2022-05-17 10:12:13 +02:00
Robert Hensing
1fb0d37021
flake/freeformType: anything -> raw
...
No need to avoid raw, because it has been merged for some time now.
2022-05-17 09:13:12 +02:00
Robert Hensing
9aba31a8b5
Add apps
2022-05-11 22:45:26 +02:00
Robert Hensing
6cbe3c89c5
Remove devShell. Use devShells.default instead.
2022-05-11 21:37:02 +02:00
Robert Hensing
0f58fecd5f
Fix getSystem
2022-04-06 18:01:26 +02:00
Robert Hensing
6ec7dec1fb
Add devShells
...
Not deprecating devShell yet.
2022-03-15 19:24:44 +01:00
Robert Hensing
77771f1d6d
Add overlay
2021-11-22 22:44:39 +01:00
Robert Hensing
0cf2ff3e94
Document technical reason for requiring devShell
2021-11-22 22:44:39 +01:00
Robert Hensing
e5d5866b1d
Add nixosModules
2021-11-22 22:44:39 +01:00
Robert Hensing
6b7705d350
Add darwinModules
2021-11-22 22:44:39 +01:00
Robert Hensing
1b82c7f771
Memoize perSystem in allSystems, require devShell
2021-11-22 22:01:38 +01:00
Robert Hensing
d5703798a8
Set the default devShell to null
2021-11-22 16:36:16 +01:00
Robert Hensing
f8df47d193
Remove systems default
...
[] is not a sensible default and the choice is up to the flake
author. I wish it was different.
2021-11-22 16:27:49 +01:00
Robert Hensing
315c09733e
Add freeformType to flake option
2021-11-21 16:58:54 +01:00
Robert Hensing
06ebe54ddb
Add more descriptions
2021-11-21 16:33:33 +01:00
Robert Hensing
7460d63718
Remove unused self.nix
2021-11-21 16:33:33 +01:00
Robert Hensing
8c3f71965e
Small beginnings
2021-10-27 11:05:52 +02:00