Temporary switch script until i fix git-lfs with nixos
This commit is contained in:
parent
7c7afd07b3
commit
7b178625b6
1 changed files with 11 additions and 0 deletions
11
switch.sh
Executable file
11
switch.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
NH_FLAKE=$(mktemp -d)
|
||||
git clone . "$NH_FLAKE" #TODO: replace . with valid bash for script dir.
|
||||
|
||||
cd "$NH_FLAKE" || exit
|
||||
git lfs install
|
||||
git lfs pull
|
||||
rm -rf "$NH_FLAKE/.git"
|
||||
|
||||
nh os switch
|
||||
Loading…
Add table
Add a link
Reference in a new issue