10 Commits

Author SHA1 Message Date
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
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