1
0

modules/nixfiles: stage added config

This commit is contained in:
clerie 2023-02-26 22:31:53 +01:00
parent 2e15bbd6ed
commit 98a576a4d7

View File

@ -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 {