Commit graph

705 commits

Author SHA1 Message Date
David Arnold
17aee57df4
iso: pin inputs as flakes
This intends to avoid downloading inputs on the iso live image
and is a step towards completely air-gaped installs.

credits: @Pacman99

closes: #190
2021-03-16 17:12:38 -05:00
Pacman99
4034659350
lib: pass inputs to ./lib
library functions now can access inputs (and their sources!)
directly, for example in order to copy their closure into
the iso registry so that evaluating the flake does not need
to fetch inputs again
2021-03-16 16:38:36 -05:00
Timothy DeHerrera
1ac3d83fc1
bors: no squash merge 2021-03-16 15:15:26 -06:00
bors[bot]
ed49988703 Update Changelog for PR 2021-03-16 21:14:56 +00:00
David Arnold
3d324e7533 lib/devos: bake devos repo into live cd (#168)
fix #167 

This worked for me to bootstrap another machine.
2021-03-16 19:50:38 +00:00
Timothy DeHerrera
f53b6a4543
core: really fix #162 2021-03-14 21:49:35 -06:00
nrdxp
8f2a8adb55 Update Changelog for PR 2021-03-15 03:42:30 +00:00
Timothy DeHerrera
c12528b7d9
core: fix #162 2021-03-14 21:41:28 -06:00
Timothy DeHerrera
d8068073c6
lib: add rgxToString function 2021-03-14 21:40:49 -06:00
Timothy DeHerrera
d51cd34fb7
subflakes: make first class citizens
Subflakes should provide their wares as outputs, so wire up the pkgs
flake to reflect that.

Due to the unstable nature of flakes, updating the root flake doesn't
currently update the subflake lock file. Therefore, add additional
logic to flk update script in order to do this behind the scenes.

Nix is now pulled in from the "nix" registry flake in order for users
to take advantage of improvements to the UI since its last update in
nixpkgs.
2021-03-14 21:27:58 -06:00
nrdxp
d7f15a664d Update Changelog for PR 2021-03-14 07:14:55 +00:00
Timothy DeHerrera
c012f2f4ed treewide cleanups and refactoring for initial tests (#157)
- [x] refactor lib into separate files, similar to NixOS/nixpkgs/lib.
- [x] refactor ci to automatically generate derivations from flake outputs
- [x] remove cluttered indirection statements throughout the codebase
- [x] refactor hosts to allow for upcoming integration tests
- [x] improve ambiguity in the existing docs 
- [x] add [BORS](https://bors.tech) support
- [x] add initial integration test
- [x] write tests documentation
- [x] test lib
- [x] improve version string generation, and do so automatically for pkgs/flake.nix sources

Clean up the codebase as best we can in preparation for #152 and add tests. From now on, all PRs will be merged with BORS.
2021-03-14 07:10:51 +00:00
nrdxp
b06adb81ba Update Changelog for PR 2021-03-05 19:17:24 +00:00
Timothy DeHerrera
5bd8876b74
Merge pull request #147 from blaggacao/da/lib-with-dep-on-pkgs
lib: can depend on pkgs (a la nixpkgs#pkgs/pkgs-lib)
2021-03-05 12:16:38 -07:00
nrdxp
c7bb6247f5 Update Changelog for PR 2021-03-05 01:42:38 +00:00
Timothy DeHerrera
98404a158b
hosts: pass host as reference
Allow easier debugging, in the same vain as
1651913910.
2021-03-01 23:05:32 -07:00
Timothy DeHerrera
78af546705
workflows#sync: sync after changelog generation 2021-03-01 22:57:23 -07:00
Timothy DeHerrera
92afb9c52f
README.md: fix typo 2021-03-01 22:42:19 -07:00
nrdxp
de810fde33 Update Changelog for tag 2021-03-02 05:29:08 +00:00
Timothy DeHerrera
6e2ed81438
workflows#release: set-env is deprecated
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands
2021-03-01 22:25:42 -07:00
nrdxp
827fe22334 Update Changelog for PR 2021-03-02 05:16:57 +00:00
Timothy DeHerrera
7c226c9168
lib#genPkgs: reorder overlays
Resolves #146 by allowing external overlays to ve overriden by local
overlays.
2021-03-01 22:15:48 -07:00
Timothy DeHerrera
5bce44b1bd
flake.lock: update 2021-03-01 20:30:47 -07:00
Timothy DeHerrera
44bae21564
nix#registry: update names
Continuing the work from 487fa7ea26,
simplify the registry entries a bit more by simply refering to the
input flakes. Also add alias `orch` for easy search `override`.
2021-03-01 20:11:23 -07:00
nrdxp
8733f2b5dc Update Changelog for PR 2021-03-02 01:45:48 +00:00
Timothy DeHerrera
4b54c03553
workflows#release: autogen release on tag
Thanks:
https://renehernandez.io/essays/2020/09/23/automate-changelog-and-releases-creation-in-github
2021-03-01 18:43:32 -07:00
Timothy DeHerrera
aded99e9b3
workflow#changelog: actually commit changelog 2021-03-01 18:43:04 -07:00
Timothy DeHerrera
25bdb25091
doc#start: fix #141 by quoting arg to --run 2021-03-01 17:44:23 -07:00
David Arnold
e37446efb6
Merge branch 'core' into da/lib-with-dep-on-pkgs 2021-03-01 15:16:45 -05:00
Timothy DeHerrera
fc1dddd181
Merge pull request #143 from lourkeur/fix_142
hosts: fix #142
2021-03-01 12:46:57 -07:00
David Arnold
e56c619aef
lib: add usage docs 2021-03-01 14:37:43 -05:00
David Arnold
bca532ab42
lib: can depend on pkgs (a la nixpkgs#pkgs/pkgs-lib) 2021-03-01 14:01:17 -05:00
Louis Bettens
487fa7ea26 hosts: fix #142 2021-03-01 18:05:58 +01:00
Timothy DeHerrera
d20877cd6d
README.md: status blurb 2021-02-28 22:33:14 -07:00
Timothy DeHerrera
6b377ac49b
workflow: fix syntax error 2021-02-26 01:09:49 -07:00
Timothy DeHerrera
63190509c7
workflow: gen changelog on version push 2021-02-26 01:04:43 -07:00
Timothy DeHerrera
8f014c004d
github: add changelog workflow 2021-02-26 00:48:03 -07:00
Timothy DeHerrera
afedb536cc
Merge pull request #135 from divnix/auto-srcs
pkgs: automatic source management
2021-02-26 00:18:20 -07:00
Timothy DeHerrera
088b51a020
README.md: emphasize source management 2021-02-26 00:15:46 -07:00
Timothy DeHerrera
e5ddc3127b
pkgs#flake: fix flake-compat support
https://github.com/edolstra/flake-compat/pull/18
2021-02-26 00:15:46 -07:00
Timothy DeHerrera
25180a5e6e
pkgs: use subflake to manage package sources
* Resolves #118
* Leverage flakes to manage package sources & hashes
* Update documentation with an example.
* Add `mkVersion` function to autogenerate a version string.
* Add srcs package via overlay containing all sources defined in
  _pkgs/flake.nix_
* Extend `flk update` with the ability to only update the given input
2021-02-26 00:15:45 -07:00
Timothy DeHerrera
314b18e5f8
Merge pull request #139 from divnix/fix-136
profiles: simplify profiles to suites
2021-02-25 14:56:20 -07:00
Timothy DeHerrera
1651913910
profiles: simplify profiles to suites
* Leave importing to nixpkgs module implentation. Provide a path
  instead; resolves #136.
* Allow profiles which are not lambdas but simple attribute sets,
  relaxing the constraints a bit.
* Update profile README.md
* defaultImports -> mkProfileAttrs: allow importing subprofiles even
  if parent directory does not contain a default.nix.
2021-02-25 14:47:19 -07:00
Timothy DeHerrera
7d87e5abc3
doc: add hercules-ci usage 2021-02-21 16:36:43 -07:00
Timothy DeHerrera
cbdec39595
doc: improve demonstration 2021-02-21 14:51:19 -07:00
Timothy DeHerrera
091e1f5648
doc: demonstrace hmModules 2021-02-21 14:44:57 -07:00
Timothy DeHerrera
87008d851c
extern: typo 2021-02-21 14:16:52 -07:00
Timothy DeHerrera
f873446787
doc#extern: docment hmModules 2021-02-20 12:42:36 -07:00
Timothy DeHerrera
aff6c085cc
doc: fix mdbook publish cname 2021-02-20 00:48:47 -07:00
Timothy DeHerrera
278c1a93b6
issues: consistent template 2021-02-20 00:30:07 -07:00