From cd8c80ed10f9648852e108010dbac04175dd1242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Sat, 28 Dec 2024 20:54:53 +0100 Subject: [PATCH] 488 current 1970-01-01 01:00:00 24.11.20241227.d49da4c 6.6.67 * --- modules/nixos/rebuild.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/nixos/rebuild.nix b/modules/nixos/rebuild.nix index 8f73fba..d16ac61 100644 --- a/modules/nixos/rebuild.nix +++ b/modules/nixos/rebuild.nix @@ -21,14 +21,13 @@ ${pkgs.alejandra}/bin/alejandra . #&>/dev/null # Shows your changes - ${pkgs.git}/bin/git diff -U0 *.nix + ${pkgs.git}/bin/git diff -U0 echo "NixOS Rebuilding..." # echo using sudo so we get feedback after unlocking sudo echo "Beginning rebuild" # Rebuild, output simplified errors, log trackebacks - # sudo nixos-rebuild switch &>nixos-switch.log || (${pkgs.coreutils}/bin/cat nixos-switch.log | ${pkgs.gnugrep}/bin/grep --color error && false) sudo nixos-rebuild switch # Get current generation metadata