other random changes

This commit is contained in:
Sebastian Moser
2023-11-10 18:13:22 +01:00
parent 03a55289ec
commit 3ef7f87cfb
7 changed files with 43 additions and 11 deletions

6
mybin/log Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
export SUPABASE_KEY=$(cat ~/.mysecrets/log-supabase-key)
export SUPABASE_URL=$(cat ~/.mysecrets/log-supabase-url)
python3 ~/work/log/new/client.py $@

View File

@@ -15,7 +15,7 @@ build_from_github(){
}
build_from_local(){
export out_path=$(nix build "$HOME/work/config#nixosConfigurations.$host.config.system.build.toplevel" --impure --no-link --print-out-paths $args_to_pass)
export out_path=$(sudo nix build "$HOME/work/config#nixosConfigurations.$host.config.system.build.toplevel" --impure --no-link --print-out-paths $args_to_pass)
build_exit_code=$?
echo out_path: $out_path

View File

@@ -7,7 +7,7 @@ then
elif [ "$1" == "mnt-wechner" ]
then
rclone mount --vfs-cache-mode full -vvvv onedrive-school:projekt-autobatterie ~/wechner-mount/
rclone mount --vfs-cache-mode full -vvvv onedrive-school:projekt-autobatterie ~/work/htl/projekt/wechner/mnt
elif [ "$1" == "wstunnel" ]