add nom and fix gum in install command
This commit is contained in:
parent
51f2c83b8c
commit
c330e249b3
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
git,
|
git,
|
||||||
|
nix-output-monitor,
|
||||||
gum,
|
gum,
|
||||||
writeShellApplication,
|
writeShellApplication,
|
||||||
}:
|
}:
|
||||||
|
@ -7,7 +8,7 @@ writeShellApplication
|
||||||
{
|
{
|
||||||
name = "install-nix-no-inhibit";
|
name = "install-nix-no-inhibit";
|
||||||
|
|
||||||
runtimeInputs = [git gum];
|
runtimeInputs = [git gum nix-output-monitor];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
# An install script for NixOS installation to /tmp
|
# An install script for NixOS installation to /tmp
|
||||||
|
@ -36,8 +37,8 @@ writeShellApplication
|
||||||
--mode zap_create_mount \
|
--mode zap_create_mount \
|
||||||
"./disko/''${dir}/default.nix"
|
"./disko/''${dir}/default.nix"
|
||||||
echo "NixOS Installing..."
|
echo "NixOS Installing..."
|
||||||
sudo nixos-install --flake .#"''${dir}"
|
sudo nixos-install --flake .#"''${dir}" --show-trace --log-format internal-json -v |& nom --json
|
||||||
sudo nixos-install --flake .#"''${dir}"
|
sudo nixos-install --flake .#"''${dir}" --show-trace --log-format internal-json -v |& nom --json
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo "Cleaning up repository in '/tmp/install-nix'..."
|
echo "Cleaning up repository in '/tmp/install-nix'..."
|
||||||
rm -rf ./install-nix
|
rm -rf ./install-nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue