38 current 2024-04-18 09:17:02 23.11.20240405.72da83d 6.1.84 *
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user