51 2024-04-18 21:04:25 (current)
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
${pkgs.git}/bin/git diff -U0
|
${pkgs.git}/bin/git diff -U0
|
||||||
echo "NixOS Rebuilding..."
|
echo "NixOS Rebuilding..."
|
||||||
${pkgs.unstable.nh}/bin/nh os switch ~/.nixos
|
${pkgs.unstable.nh}/bin/nh os switch ~/.nixos
|
||||||
gen=$(nix-env --list-generations | ${pkgs.gnugrep}/bin/grep current)
|
gen=$(sudo nix-env --list-generations --profile /nix/var/nix/profiles/system | ${pkgs.gnugrep}/bin/grep current)
|
||||||
${pkgs.git}/bin/git commit --no-gpg-sign -am "$gen"
|
${pkgs.git}/bin/git commit --no-gpg-sign -am "$gen"
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user