about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-07 19:14:39 +0200
committerene <ene@sils.li>2023-04-07 19:14:39 +0200
commitc2ab88680de9512b80f8ea8dd73b67c5028b58e0 (patch)
tree9eee2193c9df4512a925837b73f493bae327dab9
parentFix(hm/conf/zsh): Move the wine directory (diff)
downloadnixos-config-c2ab88680de9512b80f8ea8dd73b67c5028b58e0.tar.gz
nixos-config-c2ab88680de9512b80f8ea8dd73b67c5028b58e0.zip
Feat(treewide): Move to codeberg for hosting
What am I'm to do? They have ssh authentication.
-rwxr-xr-xbootstrap/activate/activate.sh2
-rwxr-xr-xbootstrap/install/install.sh2
-rwxr-xr-xbootstrap/setup/setup.sh8
3 files changed, 6 insertions, 6 deletions
diff --git a/bootstrap/activate/activate.sh b/bootstrap/activate/activate.sh
index 4ee4e82e..5d53990f 100755
--- a/bootstrap/activate/activate.sh
+++ b/bootstrap/activate/activate.sh
@@ -64,7 +64,7 @@ msg "Finished mounting"
 readp "Do you want to continue with nixos-install? [N/y]: " result
 case $result in
     [Yy])
-        nix run "git+https://git.sils.li/ene/nixos-config#setup" --experimental-features 'nix-command flakes';
+        nix run "git+https://codeberg.org/ene/nixos-config#setup" --experimental-features 'nix-command flakes';
         ;;
     *)
         msg "Sure, do it yourself"
diff --git a/bootstrap/install/install.sh b/bootstrap/install/install.sh
index d92a9cb7..c2a3814c 100755
--- a/bootstrap/install/install.sh
+++ b/bootstrap/install/install.sh
@@ -149,7 +149,7 @@ esac
 readp "Do you want to continue with nixos-install? [N/y]: " result
 case $result in
     [Yy])
-        nix run "git+https://git.sils.li/ene/nixos-config#setup" --experimental-features 'nix-command flakes';
+        nix run "git+https://codeberg.org/ene/nixos-config#setup" --experimental-features 'nix-command flakes';
         ;;
     *)
         msg "Sure, do it yourself"
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..."