Lock flakes and add inputs
This commit is contained in:
15
rebuild.sh
15
rebuild.sh
@@ -6,11 +6,14 @@ if [ "$(id -u)" != 0 ]; then
|
||||
fi
|
||||
|
||||
host=$(hostname)
|
||||
conf="$(readlink -f .)/${host}/configuration.nix"
|
||||
|
||||
if [ ! -e "$conf" ]; then
|
||||
echo "Missing config $conf"
|
||||
exit 1
|
||||
fi
|
||||
#conf="$(readlink -f .)/${host}/configuration.nix"
|
||||
#
|
||||
#if [ ! -e "$conf" ]; then
|
||||
# echo "Missing config $conf"
|
||||
# exit 1
|
||||
#fi
|
||||
#
|
||||
#NIXOS_CONFIG="${conf}" nixos-rebuild switch
|
||||
|
||||
NIXOS_CONFIG="${conf}" nixos-rebuild switch
|
||||
nixos-rebuild switch --flake .
|
||||
|
||||
Reference in New Issue
Block a user