mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Move to recursiveMod, nixdirfmt
This commit is contained in:
parent
3a4458eae5
commit
76a479f14e
66 changed files with 313 additions and 335 deletions
|
|
@ -68,9 +68,11 @@ with lib; pkgs.mkShell {
|
|||
nf-actions
|
||||
nf-actions-test
|
||||
] ++ config.runners.lazy.nativeBuildInputs
|
||||
++ (map (node: writeShellScriptBin "${node.networking.hostName}-img" ''
|
||||
++ (map
|
||||
(node: writeShellScriptBin "${node.networking.hostName}-img" ''
|
||||
nix build -f . network.nodes.${node.networking.hostName}.system.build.sdImage --show-trace
|
||||
'') (filter (node: node.system.build ? sdImage) (attrValues meta.network.nodes)));
|
||||
'')
|
||||
(filter (node: node.system.build ? sdImage) (attrValues meta.network.nodes)));
|
||||
shellHook = ''
|
||||
export HOME_HOSTNAME=$(hostname -s)
|
||||
export HOME_UID=$(id -u)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue