Gitiles
Code Review
Sign In
git.clicks.codes
/
Minion
/
NixFiles
/
a0d8a925fd813ac6dc730878298a6ac99a26ad61
/
.
/
scripts
/
rebuild-system.sh
blob: 1eddeb90bbf8e28c320e97037de73356e4093e05 [
file
] [
log
] [
blame
]
#!/bin/sh
cd
"$(dirname ${BASH_SOURCE[0]})/.."
git add
.
if
[[
$
(
git diff
--
stat HEAD
)
!=
''
]];
then
read
-
ep
"What did you change?: "
changes
/
usr
/
bin
/
env git commit
-
am
"$changes"
fi
sudo nixos
-
rebuild switch
--
flake
.#
default $1