51 2024-04-18 21:04:25 (current)
This commit is contained in:
parent
1d73aa96c8
commit
4ddbd2b709
@ -12,7 +12,7 @@
|
||||
${pkgs.git}/bin/git diff -U0
|
||||
echo "NixOS Rebuilding..."
|
||||
${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"
|
||||
popd
|
||||
'';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user