488 current 1970-01-01 01:00:00 24.11.20241227.d49da4c 6.6.67 *
This commit is contained in:
parent
571196db9d
commit
cd8c80ed10
@ -21,14 +21,13 @@
|
|||||||
${pkgs.alejandra}/bin/alejandra . #&>/dev/null
|
${pkgs.alejandra}/bin/alejandra . #&>/dev/null
|
||||||
|
|
||||||
# Shows your changes
|
# Shows your changes
|
||||||
${pkgs.git}/bin/git diff -U0 *.nix
|
${pkgs.git}/bin/git diff -U0
|
||||||
|
|
||||||
echo "NixOS Rebuilding..."
|
echo "NixOS Rebuilding..."
|
||||||
|
|
||||||
# echo using sudo so we get feedback after unlocking
|
# echo using sudo so we get feedback after unlocking
|
||||||
sudo echo "Beginning rebuild"
|
sudo echo "Beginning rebuild"
|
||||||
# Rebuild, output simplified errors, log trackebacks
|
# 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
|
sudo nixos-rebuild switch
|
||||||
|
|
||||||
# Get current generation metadata
|
# Get current generation metadata
|
||||||
|
Loading…
x
Reference in New Issue
Block a user