mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
refactor: major refactor into proper reusable modules. No logical changes.
This commit is contained in:
parent
04872f6ec5
commit
84ac34cb6c
80 changed files with 761 additions and 776 deletions
|
@ -107,7 +107,7 @@
|
|||
microvmNodes = nixpkgs.lib.concatMapAttrs (_: node:
|
||||
nixpkgs.lib.mapAttrs'
|
||||
(vm: def: nixpkgs.lib.nameValuePair def.nodeName node.config.microvm.vms.${vm}.config)
|
||||
(node.config.extra.microvms.vms or {}))
|
||||
(node.config.meta.microvms.vms or {}))
|
||||
self.colmenaNodes;
|
||||
# Expose all nodes in a single attribute
|
||||
nodes = self.colmenaNodes // self.microvmNodes;
|
||||
|
@ -130,7 +130,7 @@
|
|||
|
||||
apps =
|
||||
agenix-rekey.defineApps self pkgs self.nodes
|
||||
// import ./nix/apps inputs system;
|
||||
// import ./apps inputs system;
|
||||
checks = import ./nix/checks.nix inputs system;
|
||||
devShells.default = import ./nix/dev-shell.nix inputs system;
|
||||
formatter = pkgs.alejandra;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue