Gitiles
Code Review
Sign In
git.clicks.codes
/
Minion
/
NixFiles
/
02fff7822a75708c16af1888986597c878df192a
/
.
/
scripts
/
rebuild-system.sh
blob: 6f00ad870b635460384001412fc68a33f7afea0b [
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
--
impure
--
flake
.#
default $1