Compare commits
No commits in common. "d5211287bd3cb96078f2053488d67d557848a8f2" and "870bbb1f3738736ea248c171685bffdb242e294a" have entirely different histories.
d5211287bd
...
870bbb1f37
3 changed files with 13 additions and 15 deletions
6
TODO.md
6
TODO.md
|
|
@ -27,8 +27,8 @@
|
||||||
- [ ] allow multiple privesc methods, the standard is pam_ssh_agent_auth
|
- [ ] allow multiple privesc methods, the standard is pam_ssh_agent_auth
|
||||||
|
|
||||||
## Low Priority
|
## Low Priority
|
||||||
- [X] rename extraModules to modules?
|
- [ ] rename extraModules to modules?
|
||||||
- [X] rename specialArgs to args?
|
- [ ] rename specialArgs to args?
|
||||||
|
|
||||||
- [ ] make an extension to the nix module system (different to mix)
|
- [ ] make an extension to the nix module system (different to mix)
|
||||||
that allows transformations (ie a stop post config, ie outputs, which
|
that allows transformations (ie a stop post config, ie outputs, which
|
||||||
|
|
@ -44,8 +44,6 @@
|
||||||
- [ ] rewrite the ceru cli in rust
|
- [ ] rewrite the ceru cli in rust
|
||||||
- [ ] make `ceru` do local and remote deployments
|
- [ ] make `ceru` do local and remote deployments
|
||||||
|
|
||||||
- [ ] support `legacyImports`
|
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
# REF: foxora
|
# REF: foxora
|
||||||
vms = {
|
vms = {
|
||||||
|
|
|
||||||
|
|
@ -93,13 +93,13 @@
|
||||||
Cerulean Nexus config must be provided as an attribute set, got "${typeOf nexus}" instead!
|
Cerulean Nexus config must be provided as an attribute set, got "${typeOf nexus}" instead!
|
||||||
Ensure the `nexus` declaration is an attribute set under your call to `cerulean.mkNexus`.
|
Ensure the `nexus` declaration is an attribute set under your call to `cerulean.mkNexus`.
|
||||||
''; let
|
''; let
|
||||||
decl = nt.projectOnto templateNexus nexus;
|
base = nt.projectOnto templateNexus nexus;
|
||||||
in
|
in
|
||||||
# XXX: TODO: create a different version of nt.projectOnto that can actually
|
# XXX: TODO: create a different version of nt.projectOnto that can actually
|
||||||
# XXX: TODO: handle applying a transformation to the result of each datapoint
|
# XXX: TODO: handle applying a transformation to the result of each datapoint
|
||||||
decl
|
base
|
||||||
// {
|
// {
|
||||||
groups = parseGroupDecl decl.groups;
|
groups = parseGroupDecl base.groups;
|
||||||
};
|
};
|
||||||
|
|
||||||
parseDecl = outputsBuilder: let
|
parseDecl = outputsBuilder: let
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
{
|
{
|
||||||
base,
|
|
||||||
lib,
|
lib,
|
||||||
system,
|
system,
|
||||||
config,
|
config,
|
||||||
|
|
@ -74,13 +73,14 @@ in {
|
||||||
in {
|
in {
|
||||||
# NOTE: _module.args is a special option that allows us to
|
# NOTE: _module.args is a special option that allows us to
|
||||||
# NOTE: set extend specialArgs from inside the modules.
|
# NOTE: set extend specialArgs from inside the modules.
|
||||||
# WARNING: pkgs is a reserved specialArg
|
_module.args = repos;
|
||||||
_module.args = removeAttrs repos ["pkgs"];
|
|
||||||
|
|
||||||
nixpkgs =
|
nixpkgs =
|
||||||
if contextName == "hosts"
|
if contextName == "hosts"
|
||||||
then {
|
then
|
||||||
flake.source = lib.mkOverride 200 base; # DEBUG: temp while getting base to work
|
# DEBUG: defaultPkgs
|
||||||
|
{
|
||||||
|
flake.source = lib.mkOverride 200 (defaultPkgs.source or null);
|
||||||
overlays = lib.mkOverride 200 (defaultPkgs.overlays or {});
|
overlays = lib.mkOverride 200 (defaultPkgs.overlays or {});
|
||||||
config = lib.mkOverride 200 (defaultPkgs.config or {});
|
config = lib.mkOverride 200 (defaultPkgs.config or {});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue