diff options
author | ene <ene@sils.li> | 2023-02-25 08:51:54 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-25 08:51:54 +0100 |
commit | 304664a405aade8edf129a06d89cea0f89a61e23 (patch) | |
tree | 78f2ed1a1b647986442f2f707ce27d9eeea98e24 /bootstrap | |
parent | Fix(impermance): Remove uncertain setting (diff) | |
download | nixos-config-304664a405aade8edf129a06d89cea0f89a61e23.tar.gz nixos-config-304664a405aade8edf129a06d89cea0f89a61e23.zip |
Fix(bootstrap): Make the path based on the /mnt root
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/config_setup/config_setup.sh | 4 | ||||
-rwxr-xr-x | bootstrap/setup/setup.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/config_setup/config_setup.sh b/bootstrap/config_setup/config_setup.sh index 92e91187..c856c517 100755 --- a/bootstrap/config_setup/config_setup.sh +++ b/bootstrap/config_setup/config_setup.sh @@ -6,8 +6,8 @@ export LIB_TEMP_DIR_FOR_SCRIPT="$(mktemp -d)" # clone packer.nvim to the needed dir, for the nvim install to work -git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim +git clone --depth 1 https://github.com/wbthomason/packer.nvim /mnt/srv/home/soispha/.local/share/nvim/site/pack/packer/start/packer.nvim -nvim -c 'PackerSync' -c 'qall' -u '/mnt/soispha/.config/nvim/init.lua' --headless +nvim -c 'PackerSync' -c 'qall' -u '/mnt/srv/home/soispha/.config/nvim/init.lua' --headless if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh index 3a73793b..42a9a4b7 100755 --- a/bootstrap/setup/setup.sh +++ b/bootstrap/setup/setup.sh @@ -31,8 +31,8 @@ nixos-install --flake git+https://git.sils.li/ene/nixos-config#${host} --no-root git clone https://git.sils.li/ene/nixos-config /mnt/srv/etc/nixos # setup persistent home dir -mkdir -p /srv/home -chmod 777 /srv/home +mkdir -p /mnt/srv/home +chmod 777 /mnt/srv/home readp "Do you want to continue with the user configuration setup?[y/n]: " result; case "$result" in |