9 Commits

Author SHA1 Message Date
c0ca89728e revert statix fixes for empty_pattern
empty_pattern forces {...} to be converted to {_}, which breaks
situations where an import is done multiple ways with the same
attributes, and only some of the imported files use those
attributes (ex. systems/<host>/default.nix)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
1b65b78d13 fix all statix warnings and re-enable statix pre-commit
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
9c3330b006 convert if/else to lib.optionals
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
db7aeb7f03 Documentation for lib/systems
Additionally:
- fix a typo in lib/default with the type hinting
- fix a likely breaking change with lib.rad-dev.genNonX86, as it was
returning an attrset instead of a list of attrsets
- rename var to cond in lib.rad-dev.genWrapper, to make it clearer that
a condition is expected

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
46aee20d9e migrate system scanning logic to lib/
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
0ddf01baef migrate constructSystem to lib/
migrates the bulk of constructSystem to lib/ and splits out the largest
chunks into individual functions (namely SOPS, home-manager, and user creation);

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
5261a65ecc migrate lib functions to lib/, remove extra overlays
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-19 15:43:00 +00:00
Dennis Wuitz
469038e980 switched modules to flakes 2023-12-24 18:48:52 +01:00
Dennis Wuitz
75405396d2 base configuration 2023-12-23 06:55:27 +01:00