David Arnold
91a5764acf
ref: tests are becoming a pkgs-less library
2022-02-23 15:23:14 -08:00
David Arnold
7608f9585c
ref: we love the unofficial flakes roadmap
2022-02-23 15:23:14 -08:00
David Arnold
25bf8eefe2
ref: auxiliaries (checks, jobs, devshell)
...
Includes nix patch: https://github.com/NixOS/nix/pull/4641
2022-02-23 15:23:14 -08:00
David Arnold
e5ab98071d
add groupByConfig example
2022-02-23 15:23:14 -08:00
Pacman99
979b1bb723
flake: drop follows for nixos-generators input
2022-02-23 15:23:14 -08:00
David Arnold
2eb6f83262
fix: maybImport to also classic imports that peak for defualt.nix
...
such as `import ./pkgs`, actually loading `./pkgs/default.nix`
2022-02-23 15:23:14 -08:00
Pacman99
00d056f87e
modules: add builds for nixos-generators formats
2022-02-23 15:23:14 -08:00
Pacman99
52566f41d8
flake: use fup for non-lib outputs
2022-02-23 15:23:13 -08:00
David Arnold
c43d7641fa
imp: make importers truely recursive
...
- hostnames are construed from a reverse DNS notation of folder names
BREAKING CHANGE (without practical impact):
fup needs to be udpated to parse the reverse DNS notation back into
a hostname DNS label + a DNS domain (to set networking.domain).
However, since until now, no recursive hosts where allowed, this
can be safely done soonishly.
2022-02-23 15:23:13 -08:00
David Arnold
639863bebb
ref: drop safeReadDir
2022-02-23 15:23:13 -08:00
Pacman99
271cfd0c18
re-add mkProfileAttrs with a deprecation message
2022-02-23 15:23:13 -08:00
Pacman99
f100c6dcf4
flake: update devshell input for importTOML
2022-02-23 15:23:13 -08:00
Pacman99
237e0bce9b
rakeLeaves: create and use standard auto-importer
...
The function picks up `.nix` files and stops recursing when it hits
a folder with a `default.nix`
This allows it to be used to collect hosts, overlays, and profiles
2022-02-23 15:22:57 -08:00
Pacman99
0bbc1decfe
test mkFlake with a full flake similar to devos
2022-02-23 15:22:07 -08:00
Pacman99
8c7da5e5fe
flake: use nixpkgs.lib for lib output
2022-02-23 15:22:07 -08:00
Pacman99
a489a954fd
Move library code to src/ and cleanup folders
2022-02-23 15:22:07 -08:00
David Arnold
c4da36132c
imp: remove importer from top level lib exports
...
Importers are auxiliary functions of this library. It feels inconsistent when
they have the same visibility of primary (builder) functions.
2022-02-23 15:22:07 -08:00
Pacman99
14c811916c
shell: add packages from overlays to devshell
...
following same logic as exporting packages, but don't filter out inputs
2022-02-23 15:22:07 -08:00
Pacman99
9f0ecf6920
init with devos lib extraction
...
simple copy of devos library code
2022-02-23 15:22:07 -08:00
Parthiv Seetharaman
46fe74647e
tree: move everything into examples/devos
2022-02-23 15:21:28 -08:00
Parthiv Seetharaman
b0aadda88c
flake: switch back to serokell deploy input
...
There is a bug in the input-output-hk fork
2022-02-17 16:22:48 -08:00
Parthiv Seetharaman
87f1d7da18
bud: move to shell and use git clone for get
2021-12-29 15:41:58 -08:00
David Arnold
a319aed9f4
imp: move follows responsibility downstream
...
- also remove unimportant (small) depenencies from follows management
- so that it is less complex as errors occur, since:
- it seems there are still follows issues present upstream
2021-12-29 14:00:25 -08:00
David Arnold
6151d02b8d
rm: use of patched nix for nixos 21.11 enabled digga
...
- patched nix held the follows patch which is now upstreamed
2021-12-29 14:00:25 -08:00
GTrunSec
950199ef2c
update deploy-rs overlay
2021-09-29 11:45:46 -07:00
Parthiv Seetharaman
e0da74c87c
Update flake to use new moddules options
2021-09-27 16:23:06 -07:00
David Arnold
5657ddf3c1
fix: input ref / bump digga
...
the indirect reference started failing with
```
warning: Git tree '/home/blaggacao/ghq/github.com/divnix/devos' is dirty
error: NAR hash mismatch in input 'github:NixOS/nixpkgs/release-21.05' (/nix/store/0r0xrqj5l88071cama7hlha5ajya06c8-source), expected 'sha256-MhVtkVt1MFfaDY3ObJu54NBcsaPk19vOBZ8ouhjO4qs=', got 'sha256-jQgXeJ9NQQS0Eobb/qQOvS+RRULkqRikAeXkkFKOPDA='
```
2021-08-05 20:42:26 -05:00
David Arnold
2fcb3605ee
docs: soft update (fix the most obvious drift)
2021-08-01 16:38:52 -05:00
teutat3s
bf81ed29d1
Ensure pinning latest channel to nixpkgs nixos-unstable branch
2021-07-30 22:22:44 +02:00
Timothy DeHerrera
8b67cae20a
flake: remove ci-agent
2021-07-23 14:38:54 -06:00
David Arnold
a3ec0d2814
imp: use bud nixos-/devhsllModules and hide rebiding
...
both modules depend on `self`/`inputs` available as special args for
both, devshell & nixos modules, so bump to an improved `digga`, as well.
2021-07-20 23:36:41 -05:00
David Arnold
bf8620f8ba
ref: point digga
to main
(default) branch
2021-07-20 22:19:09 -05:00
David Arnold
31a8e76209
ref: adapt to using plain digga module for boostrap ISO
2021-07-20 21:45:41 -05:00
David Arnold
dcb425341d
update: digga/fup refactoring
2021-07-20 19:13:17 -05:00
David Arnold
a088edd77a
fmt
2021-07-16 16:57:57 -05:00
David Arnold
6c25e77f6f
add flake's nixConfig values that go well with this repo
2021-07-16 16:57:57 -05:00
David Arnold
aa45592c17
imp: add digga's nixConfig and patchedNix
2021-07-16 16:57:57 -05:00
David Arnold
4b9cab40cb
imp: add portable user definition
...
According to https://github.com/nix-community/home-manager/issues/2161
there might be a better formal distinction between host-spaced and
portable arch-spaced hm users in the future.
2021-07-16 11:22:10 -05:00
David Arnold
6ebdf3adb4
imp: reduce flake inputs footprint and increase conciseness
2021-07-15 19:26:27 -05:00
David Arnold
fe73d2a083
fix: hm pin to corresponding nixos version
2021-07-09 11:46:42 -05:00
David Arnold
bf59976063
work-around for https://github.com/NixOS/nix/pull/4641
2021-07-07 21:03:31 -05:00
David Arnold
33fb25e011
ref: move devshell module here to devos
again
2021-07-07 21:03:31 -05:00
GTrunSec
f1117f27ec
fix hasekllPackages overlay
2021-06-24 22:58:26 -07:00
GTrunSec
ee89bf3f2a
feature: Add pkgs fetch manager nvfetcher
...
Co-authored-by: David Arnold <dar@xoe.solutions>
2021-06-24 21:37:50 -05:00
David Arnold
3cc28b3adb
bump digga to latest develop
2021-06-24 18:11:24 -05:00
David Arnold
62683b24ac
ref: pass our lib as lib.our to the module system
...
At least we don't find ourselves with strange module signatures
and use something that looks like a dedicated namespace within
he module system: `config.lib`
2021-06-13 23:30:05 -05:00
Pacman99
5831adb061
flake: switch to digga master
...
To use the now released v0.2.0
2021-06-08 18:14:32 -07:00
Pacman99
8e250d5084
flake: add agenix to devShell
2021-06-01 11:32:20 -07:00
Pacman99
d9082066f7
flake: update to new digga api
2021-06-01 11:32:20 -07:00
Pacman99
768e3e7541
Merge branch 'core' into develop
2021-05-27 11:02:41 -07:00