cleanNix: alejandra: remove false verbose flag

This commit is contained in:
2026-05-18 19:29:58 +02:00
parent c84bc422ea
commit b05dd47920
+1 -1
View File
@@ -34,7 +34,7 @@ pkgs.writeShellApplication {
statix fix "$FLAKE_DIR" # check other linting issues statix fix "$FLAKE_DIR" # check other linting issues
echo "--------------------------------------------------------------" echo "--------------------------------------------------------------"
echo "alejandra formats your Nix code consistently according to a strict, opinionated style." echo "alejandra formats your Nix code consistently according to a strict, opinionated style."
alejandra -v "$FLAKE_DIR" # formats the config alejandra "$FLAKE_DIR" # formats the config
echo "--------------------------------------------------------------" echo "--------------------------------------------------------------"
if sudo /run/current-system/sw/bin/nixos-rebuild switch --flake "$FLAKE" 2> "$ERROR_FILE"; then # use /run/.../bin/ uses the sudoless rule if sudo /run/current-system/sw/bin/nixos-rebuild switch --flake "$FLAKE" 2> "$ERROR_FILE"; then # use /run/.../bin/ uses the sudoless rule