38 current 2024-04-18 09:17:02 23.11.20240405.72da83d 6.1.84 *

This commit is contained in:
2024-04-18 09:17:09 +02:00
parent 9232d199ab
commit b6fd6c64e7
2 changed files with 10 additions and 1 deletions

View File

@@ -14,7 +14,7 @@
sudo nixos-rebuild switch --flake . &>nixos-switch.log || (
${pkgs.coreutils-full}/bin/cat nixos-switch.log | ${pkgs.gnugrep}/bin/grep --color error && false)
gen=$(nixos-rebuild list-generations | ${pkgs.gnugrep}/bin/grep current)
${pkgs.git}/bin/git commit -am "$gen"
${pkgs.git}/bin/git commit --no-gpg-sign -am "$gen"
popd
'';
in {