From e354cfe9760783a7f412a56d7f80a7de7ed1f76a Mon Sep 17 00:00:00 2001 From: Swarsel Date: Tue, 17 Dec 2024 17:45:37 +0100 Subject: [PATCH] fix: formatting in hardware-configuration bootstrp --- SwarselSystems.org | 1 + scripts/bootstrap.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/SwarselSystems.org b/SwarselSystems.org index aa64bcd..7368b03 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -2879,6 +2879,7 @@ This program sets up a new NixOS host. if yes_or_no "You can now commit and push the nix-config, which includes the hardware-configuration.nix for $target_hostname?"; then cd "${git_root}" deadnix hosts/nixos/"$target_hostname"/hardware-configuration.nix -qe + nixpkgs-fmt hosts/nixos/"$target_hostname"/hardware-configuration.nix (pre-commit run --all-files 2> /dev/null || true) && git add "$git_root/hosts/$target_hostname/hardware-configuration.nix" && (git commit -m "feat: hardware-configuration.nix for $target_hostname" || true) && git push fi diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 44ab973..2538473 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -252,6 +252,7 @@ fi if yes_or_no "You can now commit and push the nix-config, which includes the hardware-configuration.nix for $target_hostname?"; then cd "${git_root}" deadnix hosts/nixos/"$target_hostname"/hardware-configuration.nix -qe + nixpkgs-fmt hosts/nixos/"$target_hostname"/hardware-configuration.nix (pre-commit run --all-files 2> /dev/null || true) && git add "$git_root/hosts/$target_hostname/hardware-configuration.nix" && (git commit -m "feat: hardware-configuration.nix for $target_hostname" || true) && git push fi