1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 16:44:52 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Jarosław Wygoda
61321c40cf Add doi flk command 2022-02-23 15:23:13 -08:00
Pacman99
048b886435 use self.inputs instead of inputs 2022-02-23 15:23:13 -08:00
David Arnold
95734468e8 test: assert com.example.myhost 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
Pacman99
e838f60e29 Replace profiles/suites with general importables
profiles and suites is created with the old mkProfileAttrs, this makes
the new auto-importing strategies backwards compatible. But warnings are
printed when using profiles and suites instructing you on how to switch
your profiles folder format and add suites to importables
2022-02-23 15:23:13 -08:00
Pacman99
e6b9618a32 tests: add simple devshell test 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
d410c2f90d tests: add host build to checks output 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