Gitiles
Code Review
Sign In
git.clicks.codes
/
Minion
/
NixFiles
/
73d4d5c1c2840dfaba5a45c267a6006369635bcf
/
.
/
scripts
/
rebuild-system.sh
blob: 8d251b20d72a58ad9ecfeff2eedd4a20b4e7315b [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
cd
/
home
/
minion
/
Nix
git add
.
if
[[
$
(
git diff
--
stat HEAD
)
!=
''
]];
then
read
-
e
-
p
"What did you change?: "
changes
/
usr
/
bin
/
env git commit
-
am
"$changes"
fi
sudo nixos
-
rebuild switch
--
flake
.#
default $1