diff options
Diffstat (limited to '')
-rwxr-xr-x | bootstrap/setup/setup.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh index d8007a14..d67c39ff 100755 --- a/bootstrap/setup/setup.sh +++ b/bootstrap/setup/setup.sh @@ -6,7 +6,7 @@ msg "Select a host-config:" hosts=$(mktmp); host=""; -awk -F "." '/inputs.nixpkgs.lib.nixosSystem/{print $1}' "$(tmp 'curl https://git.sils.li/ene/nixos-config/raw/branch/prime/flake/nixosConfigurations/default.nix 2> /dev/null')" | awk '{print $1}' > $hosts; +awk -F "." '/inputs.nixpkgs.lib.nixosSystem/{print $1}' "$(tmp 'curl https://codeberg.org/ene/nixos-config/raw/branch/prime/flake/nixosConfigurations/default.nix 2> /dev/null')" | awk '{print $1}' > $hosts; while ! grep "$host" "$hosts" > /dev/null || [ "$(printf "%s" "$host" | wc -c)" -eq 0 ]; do i=1; @@ -23,10 +23,10 @@ while ! grep "$host" "$hosts" > /dev/null || [ "$(printf "%s" "$host" | wc -c)" warning "No host selected. Select a host to continue.\n" fi done -nixos-install --flake git+https://git.sils.li/ene/nixos-config#${host} --no-root-passwd +nixos-install --flake git+https://codeberg.org/ene/nixos-config#${host} --no-root-passwd # clone the git config -git clone https://git.sils.li/ene/nixos-config /mnt/srv/etc/nixos +git clone git@codeberg.org:ene/nixos-config.git /mnt/srv/etc/nixos # setup persistent home dir mkdir --parents /mnt/srv/home @@ -36,7 +36,7 @@ chmod 700 /mnt/srv/home readp "Do you want to continue with the user configuration setup?[N/y]: " result; case "$result" in [yY]) - nix run "git+https://git.sils.li/ene/nixos-config#config_setup" --experimental-features 'nix-command flakes'; + nix run "git+https://codeberg.org/ene/nixos-config#config_setup" --experimental-features 'nix-command flakes'; ;; *) msg "Well, if you want to do everything yourself..." |