From 31e462e924c50523e0a37069eb7c043c48b0f390 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 3 Sep 2024 15:50:37 +0100 Subject: Format scripts with nixfmt --- nix-conf/home/includes/scripts/system-changes-report.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'nix-conf/home/includes/scripts/system-changes-report.nix') diff --git a/nix-conf/home/includes/scripts/system-changes-report.nix b/nix-conf/home/includes/scripts/system-changes-report.nix index 56166cb..c7f0449 100644 --- a/nix-conf/home/includes/scripts/system-changes-report.nix +++ b/nix-conf/home/includes/scripts/system-changes-report.nix @@ -1,10 +1,8 @@ { config, pkgs, ... }: # https://github.com/gvolpe/nix-config/blob/e28a220d0087064e6bad6b992b4914a65eb545e5/home/scripts/changes-report.nix -let - system-profiles = "/nix/var/nix/profiles/system-*-link"; -in -pkgs.writeShellScriptBin "system-changes-report" '' +let system-profiles = "/nix/var/nix/profiles/system-*-link"; +in pkgs.writeShellScriptBin "system-changes-report" '' # Disable nvd if there are less than 2 hm profiles. if [ $(ls -d1v ${system-profiles} 2>/dev/null | wc -l) -lt 2 ]; then echo "Skipping changes report..." -- cgit 1.4.1-2-gfad0