Gitiles
Code Review
Sign In
git.clicks.codes
/
Minion
/
NixFiles
/
f7a2ac4ab1ab2d3ab7e7308a6b922bd1bd390fb2
/
.
/
scripts
/
rebuild-system.sh
blob: 08ab41f00f16c37cfc2d6f3554417e63743dbddb [
file
] [
log
] [
blame
]
#!/bin/sh
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