nixos-reload fix

This commit is contained in:
Danilo Reyes 2024-05-15 20:50:53 -06:00
parent b36a167e4b
commit f71472a1ff

View File

@ -61,9 +61,9 @@
# nix-store --add-fixed sha256 \
# $NIXOSDIR/PureRef-1.11.1_x64.Appimage
fd --full-path $NIXOSDIR -e nix -x nixfmt \;
sudo unbuffer nixos-rebuild switch -I \
nixos-config="$NIXOSDIR/hosts/$HOSTNAME/configuration.nix" \
|& nom
sudo nixos-rebuild switch \
--flake "$NIXOSDIR/#$HOSTNAME" \
& nom
}
'';
};