17 Commits

Author SHA1 Message Date
48ece89d9f
adds documentation to the new rad-dev functions
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-08-17 22:17:05 -04:00
a5bbb110c4
dynamically generate archiveteam containers
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-08-17 22:17:05 -04:00
67a337dfaf
I can't believe its not an integer parser
(now with more integer parsing)

on a serious note:
- adds integer to string parsing (because thats not dangerous at all)
- adds a container spec generator for OCI containers using a custom template

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-08-17 22:17:05 -04:00
cd3369880a fix firefox addons ig? also system var is here lol
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-06-09 21:30:48 +00:00
de3a027ab0 remove image generation from Hydra
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-06-04 01:40:52 +00:00
c69f81a338 re-enable server flag (oops)
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:17:49 +00:00
1589f59e3b Introduces non-server home-manager configs
Allows home-manager configs to be done on a server/non-server basis

Provides an example config by moving emacs to its own space (behind a
lib.optionals so only non-server machines accept it)

marks artemision and rhapsody-in-green as explicitly non-server machines

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:17:49 +00:00
3522ebd8c5 applies all recommended deadnix fixes, and adds it to checks
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
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