Commit Graph

60 Commits

Author SHA1 Message Date
Archit Gupta
b1fe8e8e17 Apply optional parameters to non-per-system attrs
This allows attrs that previously did not take args to receive args
including the flakelite lib attrs and module parameters.

`withOverlay` and `withPackage` are excluded as it would be ambiguous
since those are already functions. They are also short forms; if args
are needed, the regular plural attr can be used.

These args are also added to the flakelite pkgs attr for per-system
attrs to take advantage of.
2023-04-14 20:24:43 -07:00
Archit Gupta
cd655770d6 Add checks for nixosConfigurations outputs 2023-04-14 20:07:06 -07:00
Archit Gupta
b18cfb7fb9 Set git commit line lengths to 72 2023-04-14 19:04:11 -07:00
Archit Gupta
8f3827c45c Move inputs and inputs' pkgs attrs into flakelite attr
This will prevent name collisions, and be more cohesive as more is added
to the flakelite attr.
2023-04-14 18:41:08 -07:00
Archit Gupta
7c903add3f Make inputs and inputs' available in pkgs arg
This allows functions with access only to pkgs to access the flake inputs. The
inputs' arg allows easy access to per system attributes.
2023-04-14 10:44:05 -07:00
Archit Gupta
5fbb85744b Add default formatting for json and yaml files 2023-04-14 10:43:39 -07:00
Archit Gupta
7e73ee23d6 Make flakelite lib attrs available in flakelite pkgs attr 2023-04-14 10:42:50 -07:00
Archit Gupta
e91836b9d3 Skip conversion of app attributes if they are already apps 2023-04-13 22:57:23 -07:00
Archit Gupta
dab3eb948d Make output packages available in all pkgs parameters
This enables using packages defined by the flake from the pkgs input of apps,
for example.
2023-04-13 19:19:58 -07:00
Archit Gupta
4ec111408e Initial commit 2023-04-13 01:08:26 -07:00