Gitiles
Code Review
Sign In
git.clicks.codes
/
Minion
/
NixFiles
/
1424790bf1eb1f54e9a623a3c1482d6d18c627ea
/
.
/
scripts
/
rebuild-system.sh
blob: a50ae8e8b35f6fe15e04db45c58c57637479d489 [
file
] [
log
] [
blame
]
#!/bin/env bash
cd
/
home
/
minion
/
Nix
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