fix things
This commit is contained in:
parent
042ee74dbd
commit
846c63df67
7 changed files with 19 additions and 11 deletions
|
|
@ -1,13 +0,0 @@
|
|||
{writeShellScriptBin, ...}:
|
||||
writeShellScriptBin "rebuild" ''
|
||||
set -e
|
||||
pushd ~/nixos/
|
||||
alejandra . &>/dev/null
|
||||
git add .
|
||||
echo "[REBUILD]: rebuilding nixos"
|
||||
nh os switch --update
|
||||
gen=$(nixos-rebuild list-generations | grep current)
|
||||
git commit -am "$gen"
|
||||
git push origin main
|
||||
popd
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue