Commit graph

1458 commits

Author SHA1 Message Date
Pacman99 c0d6453b08
Merge pull request #265 from Pacman99/collect-profiles
collect profiles recursively with lib function
2021-04-26 09:58:57 -07:00
Pacman99 2cab5b5d2b add and use lib.collectProfiles
this function collects profiles recursively
2021-04-25 20:53:16 -07:00
Pacman99 60bfb24af1
Merge pull request #263 from Pacman99/devos-modules
create lib.modules to store all devos modules
2021-04-24 14:48:00 -07:00
bors[bot] 82b73cf63a
Merge #261
261: profilesTest/mkHosts: include host's configuration r=blaggacao a=Pacman99

Now that profiles test is done dynamically - first available host - we likely need to include the host configuration itself. I have profiles that depend on the domain being set, which how I ran into this, and I think other problems might occur if we don't include the full host in the profiles test.

targeting core, since its a small bug fix and was planned to make into a release.

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-04-24 21:45:12 +00:00
Pacman99 58c7d04036 extract iso/hm config modules to lib.modules 2021-04-24 14:44:32 -07:00
Pacman99 4e28ec2d8e devosSystem: fix iso build - can't remove core 2021-04-24 14:44:17 -07:00
Pacman99 2d9ea0d27e lib: init modules and move mkHosts modules there
This helps to split up the code in mkHosts and creates a place where we
can store modules relevent to devos. It will also be easier to remove
unecessary parts of each module in the future when they are all
compartmentalized.
2021-04-24 14:44:16 -07:00
Timothy DeHerrera 7a825bbeb6 ci: update bors.toml for new pipeline 2021-04-24 16:43:09 -05:00
Timothy DeHerrera b03fd1496d pkgs: fix flake hash 2021-04-24 16:43:09 -05:00
Timothy DeHerrera ae357cb098 Check & Upload to Cache with GitHub Action 2021-04-24 16:43:09 -05:00
Pacman99 e6f548e723
Merge pull request #262 from Pacman99/simplify-mkflakedoc
move mkFlakeDoc to packages output also drop jobs
2021-04-24 13:10:33 -07:00
Pacman99 a53aa8b7eb lib: drop jobs output, prefer checks and packages
With mkFlakeDoc in packages there is no need for jobs. And I think
anything that could go in jobs really should go in checks or packages.
If something needs to be tested - checks, if something needs to be built
- packages. jobs is not multi-arch and is redundant to build/test
things with when official flake outputs exist
2021-04-24 13:08:33 -07:00
Pacman99 1cd4ed136a mkFlakeDoc: move to packages output
the packages output allows us to do `nix build .#nixosOptionsDoc`.
theres also already an instantiated nixpkgs available there.
2021-04-24 13:08:06 -07:00
Pacman99 832d3bd697 profilesTest/mkHosts: include host's configuration 2021-04-24 00:08:49 -07:00
Pacman99 12b41f2448 devosSystem: fix iso build - can't remove core 2021-04-23 23:54:55 -07:00
Pacman99 f702ca1337
Merge pull request #260 from Pacman99/format-fixes
lib: one line for arguments, drop userFlake*
2021-04-23 23:47:43 -07:00
Pacman99 eab0bf074c lib: one line for arguments, drop userFlake*
Also format all files and add a flake.lock for lib
for a folder thats meant to work on other flakes theres never a reason
it should need to refer to itself, only other flakes. So "self" and
"inputs" are better namings for these variables. The userFlake* is
redundant and confusing, when trying to call the functions its hard to
figure out how to use them when there are now two lines of arguments to
figure out.
2021-04-23 23:46:56 -07:00
Pacman99 fe9ba26561 evalArgs: cleanup module and type references
fix pathTo and coercedList types
add modulesModule to also include modules option under home
2021-04-23 17:59:01 -07:00
Raphael Borun Das Gupta 1240356b37 doc: fix grammar: "your" -> "you're"
where it's meant to be a contraction of
"you are" rather than a possessive pronoun
2021-04-22 22:44:59 -05:00
Pacman99 3322bf5fe6
Merge pull request #256 from blaggacao/da/renamings
ref: config -> hosts | nixos -> os
2021-04-21 19:50:17 -07:00
David Arnold eea4e40d7e
ref: config -> hosts | nixos -> os
in devos, we differentiate clearly between home and os
configuration, reason for which we are more precise by not naming
after the (more generic) fup API.
2021-04-21 21:45:39 -05:00
Pacman99 8fdd66859c
Merge pull request #255 from Pacman99/type-improvements
used coercedTo for typing and improve options
2021-04-21 18:40:13 -07:00
Pacman99 f3defb486d used coercedTo for typing and improve options
allow lists, nested lists, and non-lists for list like options
drop config.<name>.externalModules
2021-04-21 18:38:58 -07:00
David Arnold a44fcf6d9d
Merge pull request #251 from divnix/api-next
Intermediate version of api-next
2021-04-21 19:02:51 -05:00
Pacman99 24dbb2b323
add mkFlakeDoc to pkgs-lib to build options doc 2021-04-19 00:41:20 -05:00
David Arnold 239386b5f8
Merge branch 'core' into api-next 2021-04-19 00:10:47 -05:00
David Arnold a714cf466d
fix: various left-overs 2021-04-18 23:48:19 -05:00
Timothy DeHerrera 03e28433ce
README.md: fix guide link 2021-04-18 21:42:54 -06:00
David Arnold 8134350545
ref: simplify pkgs-lib deps injection 2021-04-18 22:40:53 -05:00
nrdxp c67877c2eb Update Changelog for tag 2021-04-19 03:36:39 +00:00
Timothy DeHerrera 9eeddb8dac
Merge pull request #235 from divnix/release-0.9.0
Prepare 0.9.0 release
2021-04-18 21:32:53 -06:00
David Arnold 362cc31827
fix: constructors of mkFlake function family 2021-04-18 22:29:28 -05:00
Timothy DeHerrera 50eaa4d0ba
remove community action
The community branch will likely go away soon. This is no longer
required.
2021-04-18 21:25:21 -06:00
Timothy DeHerrera dba178dc1f
build docs new location 2021-04-18 21:20:36 -06:00
David Arnold 6f0392b55e ref: cave out instances of userFLake dependencies and intject them as
if functions where contructors
2021-04-18 22:16:53 -05:00
David Arnold 40acfd13e3 use: makeExtensible 2021-04-18 22:16:53 -05:00
David Arnold be924bcb27 ref: reduce exposure to callLibs
for clarity's sake, expose which function uses final and prev, so that
people can have a clearer understanding how they relate to each other
in terms of dependencies.

also a simple `{ lib = final; }` probably does not warrant a complete
callLibs obscurization.
2021-04-18 22:16:53 -05:00
Timothy DeHerrera e1e0f99af9
suites: move to profles/suites.nix 2021-04-18 21:13:12 -06:00
Timothy DeHerrera e13a65b33c
overrides: move to extern 2021-04-18 21:06:47 -06:00
Timothy DeHerrera f254304796
mv nix/ci.nix directly to default.nix 2021-04-18 21:00:45 -06:00
Timothy DeHerrera 127cb25bd1
lib: move compat to lib 2021-04-18 20:51:47 -06:00
Timothy DeHerrera fbce126f4d
cachix: move out of root and into profile 2021-04-18 20:43:37 -06:00
Timothy DeHerrera 2d91946745
doc: move all docs under doc 2021-04-18 20:42:49 -06:00
Timothy DeHerrera 048171ecaf
lib: improve profileMap for added convenience
Simplify the definition of suites a bit by removing the need for list
concatenation.
2021-04-18 20:42:43 -06:00
David Arnold 9dca402914 ref: make onion with flake-utils 2021-04-18 20:31:49 -05:00
David Arnold 6cccb55263 ref: userSelf -> userFlakeSelf 2021-04-18 20:04:19 -05:00
David Arnold cd7fb4f54c ref: flatten out inputs 2021-04-18 20:04:19 -05:00
David Arnold 16b3fad559 ref: merge dev into lib 2021-04-18 19:28:03 -05:00
David Arnold fb6c6ba4cf
fix: update devos in flake.lock 2021-04-18 19:16:07 -05:00
David Arnold c24199649a fixup: distinguish self and userSelf 2021-04-18 19:11:26 -05:00