Commit graph

868 commits

Author SHA1 Message Date
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
Timothy DeHerrera 4393d7e876
issues: improve bug template 2021-02-20 00:10:18 -07:00
Timothy DeHerrera 3fb0d80185
README.md: typo 2021-02-19 23:32:29 -07:00
Timothy DeHerrera 92a69cbdcb
extern: fix #106 well 2021-02-19 23:06:00 -07:00
Timothy DeHerrera e6189cd8bc
README.md: promote upstreaming 2021-02-19 22:43:26 -07:00
Timothy DeHerrera 772dbab9fb
move funding to personal repo 2021-02-19 22:09:31 -07:00
Timothy DeHerrera ebb09d1388
buymeacoffee 😉 2021-02-19 18:21:07 -07:00
Timothy DeHerrera 4e95e1ee72
shell: fix #131 2021-02-19 16:25:28 -07:00
Timothy DeHerrera 2cb1ec6081
book.toml: no longer needed 2021-02-17 22:40:36 -07:00
Timothy DeHerrera cf113e452f
cachix: fix link after name change 2021-02-17 22:39:43 -07:00
Timothy DeHerrera 2a67128dc1
README.md: refine the intro
Emphasize the potentially ephemeral nature of the API until
stability is reached.
2021-02-17 21:32:18 -07:00
Timothy DeHerrera 6cbbfffe64
README.md: fix guide link 2021-02-17 21:03:07 -07:00
Timothy DeHerrera 8939c3401b
project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
Timothy DeHerrera 4ff3e36046
README.md: advisory top 2021-02-17 17:07:44 -07:00
Timothy DeHerrera a63a36befc
github: add community issues 2021-02-17 16:29:55 -07:00
Timothy DeHerrera 3f0345fa31
github: default labels for issue templates 2021-02-17 14:38:37 -07:00
Timothy DeHerrera 95c6ee0368
nix: fix #126
* Update the readme to pull from cachix first, so users don't have to
  build nix.
* Pull `nixFlakes` from override for slightly newer ui, and consistency
  for users who change the nixos flake ref to something newer.
2021-02-17 14:15:43 -07:00
Timothy DeHerrera 4f44e0dd13
nix: patch nix directly for experimental features
The bash wrapper was causing issues with deploy-rs and the
experimental-features option in the config was causing hercules-ci to
spit out a bunch of junk in the logs. Patching nix with the default
values required for flakes fixes both of these issues.
2021-02-17 12:54:41 -07:00
Timothy DeHerrera b41c738f39
shell: use devshell.toml 2021-02-17 11:49:13 -07:00
Timothy DeHerrera 0e27b367d7
flk: fix #123 2021-02-15 23:30:18 -07:00
Timothy DeHerrera e7b46dfd92
Merge pull request #120 from nrdxp/deploy-rs
deploy-rs: init support
2021-02-15 11:34:07 -07:00
Timothy DeHerrera 77296ff433
deploy: move logic to lib 2021-02-15 11:24:43 -07:00
Timothy DeHerrera ad49a5e7e7
doc: usage for deploy-rs 2021-02-15 11:08:17 -07:00
Timothy DeHerrera bf68c69672
README.md: add shields and useful links 2021-02-15 00:41:45 -07:00
Timothy DeHerrera 8c7631b014
checks: add checks to ci 2021-02-14 22:33:37 -07:00
Timothy DeHerrera caba5fd756
deploy-rs: init support
Managing servers remotely is a big usecase, and deploy-rs is a flake
first deployment tool. By default, all nixosConfigurations are also
setup as deploy-rs nodes.

You'll still need to do some manual ssh setup, but other than that, the
system is ready to deploy.
2021-02-14 22:17:24 -07:00
Timothy DeHerrera cf23b8e64d
flake: rename flake-utils input 2021-02-14 22:11:49 -07:00
Timothy DeHerrera b42f7b514d
flake: manage flake-compate as input 2021-02-14 22:08:24 -07:00
Timothy DeHerrera 1b12c78c0e
flake: nixpkgs points to master by default
No need to explicitly specify it.
2021-02-14 19:43:11 -07:00
Timothy DeHerrera f2d22e13be
ci: reformulate 2021-02-14 19:03:51 -07:00
Timothy DeHerrera b54e5e6b61
Merge pull request #113 from nrdxp/doc
doc: begin work on new documentation
2021-02-14 17:48:01 -07:00
Timothy DeHerrera b9bcbab130
workflows: prepare for merge 2021-02-14 17:44:34 -07:00
Timothy DeHerrera 0405949ec6
doc: finish flk reference 2021-02-14 17:41:15 -07:00
Timothy DeHerrera 3a735ce70b
core: pin registry by ref
Users may wish to change the default value of override and nixos
inputs. If they do so, we want the registry listing to reflect the
proper ref names afterwards.

Also create a shell alias to easily search every flake in nix.registry.
2021-02-14 15:50:49 -07:00
Timothy DeHerrera bf34d2071f
doc: new mdbook documentation 2021-02-14 02:46:05 -07:00
Timothy DeHerrera 4e582b1ff5
shell: remove cachix from i686-linux
Build of cachix is failing on i686-linux right now. Remove it so shell
is still usable.
2021-02-14 02:38:41 -07:00
Timothy DeHerrera 933fb8fee9
shell: cleanup devshell
* Add update command to flk
* Add cleaner usage to flk command
* Factor out scripts to be more readable
2021-02-14 02:29:17 -07:00
Timothy DeHerrera 1eb4d1f5ea
secrets: fix subtle error with .gitkeep
Add secrets .gitattributes to secrets dir and avoid encrypting it.
Fixes an issue with .gitkeep causing build failures on unlocked repos.
2021-02-12 23:07:49 -07:00