mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: add shorthand to build system toplevel derivation nix build .#@.<node>
This commit is contained in:
parent
eb302ea61e
commit
35309bb193
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@
|
||||||
# All nixosSystem instanciations are collected here, so that we can refer
|
# All nixosSystem instanciations are collected here, so that we can refer
|
||||||
# to any system via nodes.<name>
|
# to any system via nodes.<name>
|
||||||
nodes = self.colmenaNodes // self.microvmNodes;
|
nodes = self.colmenaNodes // self.microvmNodes;
|
||||||
|
# Add a shorthand to easily target toplevel derivations
|
||||||
|
"@" = lib.mapAttrs (_: v: v.config.system.build.toplevel) self.nodes;
|
||||||
|
|
||||||
# For each true NixOS system, we want to expose an installer package that
|
# For each true NixOS system, we want to expose an installer package that
|
||||||
# can be used to do the initial setup on the node from a live environment.
|
# can be used to do the initial setup on the node from a live environment.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue