mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat: NixOS + darwin equality. feat: vim overhaul.
This commit is contained in:
parent
5879913b51
commit
2606e1d874
48 changed files with 463 additions and 918 deletions
|
|
@ -49,12 +49,12 @@ with lib; pkgs.mkShell {
|
|||
(node: writeShellScriptBin "${node.networking.hostName}-sd-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.nixos)))
|
||||
++ (map
|
||||
(node: writeShellScriptBin "${node.networking.hostName}-iso-img" ''
|
||||
nix build -f . network.nodes.${node.networking.hostName}.system.build.isoImage --show-trace
|
||||
'')
|
||||
(filter (node: node.system.build ? isoImage) (attrValues meta.network.nodes)));
|
||||
(filter (node: node.system.build ? isoImage) (attrValues meta.network.nodes.nixos)));
|
||||
shellHook = ''
|
||||
export HOME_HOSTNAME=$(hostname -s)
|
||||
export NIX_BIN_DIR=${pkgs.nix}/bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue