modules/nixfiles: stage added config
This commit is contained in:
parent
2e15bbd6ed
commit
98a576a4d7
@ -48,6 +48,8 @@ let
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s/\%HOSTNAME\%/''${hostname}/g" ''${root}/etc/nixos/hosts/''${hostname}/configuration.nix
|
sed -i "s/\%HOSTNAME\%/''${hostname}/g" ''${root}/etc/nixos/hosts/''${hostname}/configuration.nix
|
||||||
|
|
||||||
|
git -C ''${root}/etc/nixos add ''${root}/etc/nixos/hosts/''${hostname}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
Loading…
Reference in New Issue
Block a user