Don't need these idle inhibits here
This commit is contained in:
parent
c7ed9539d5
commit
7dd79974ff
|
@ -15,8 +15,8 @@ writeShellApplication
|
||||||
# An install script for NixOS installation to /tmp
|
# An install script for NixOS installation to /tmp
|
||||||
set -e
|
set -e
|
||||||
pushd /tmp > /dev/null
|
pushd /tmp > /dev/null
|
||||||
systemd-inhibit --what=idle rm -rf ./install-nix
|
rm -rf ./install-nix
|
||||||
systemd-inhibit --what=idle git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./install-nix
|
git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./install-nix
|
||||||
pushd ./install-nix/nixos/hosts > /dev/null
|
pushd ./install-nix/nixos/hosts > /dev/null
|
||||||
echo "Please choose the hostname you are installing to from the following list:"
|
echo "Please choose the hostname you are installing to from the following list:"
|
||||||
i=1
|
i=1
|
||||||
|
@ -38,10 +38,10 @@ writeShellApplication
|
||||||
--mode zap_create_mount \
|
--mode zap_create_mount \
|
||||||
"./disko/''${dir}/default.nix"
|
"./disko/''${dir}/default.nix"
|
||||||
echo "NixOS Installing..."
|
echo "NixOS Installing..."
|
||||||
systemd-inhibit --what=idle sudo nixos-install --flake .#"''${dir}"
|
sudo nixos-install --flake .#"''${dir}"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo "Cleaning up repository in '/tmp/install-nix'..."
|
echo "Cleaning up repository in '/tmp/install-nix'..."
|
||||||
systemd-inhibit --what=idle rm -rf ./install-nix
|
rm -rf ./install-nix
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo "NixOS Install Succeeded!"
|
echo "NixOS Install Succeeded!"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue