41 current 2024-04-18 10:19:43 23.11.20240405.72da83d 6.1.84 *

This commit is contained in:
Jonas Röger 2024-04-18 10:19:50 +02:00
parent 7ad9d2edac
commit 88ef380473
2 changed files with 3 additions and 1 deletions

View File

@ -54,8 +54,10 @@
borgmatic borgmatic
docker docker
git git
nix-output-monitor
ranger ranger
sops sops
unstable.nh
vim vim
wget wget
]; ];

View File

@ -11,7 +11,7 @@
${pkgs.alejandra}/bin/alejandra . &>/dev/null ${pkgs.alejandra}/bin/alejandra . &>/dev/null
${pkgs.git}/bin/git diff -U0 ${pkgs.git}/bin/git diff -U0
echo "NixOS Rebuilding..." echo "NixOS Rebuilding..."
sudo ${pkgs.unstable.nh}/bin/nh os switch ~/.nixos ${pkgs.unstable.nh}/bin/nh os switch ~/.nixos
gen=$(nixos-rebuild list-generations | ${pkgs.gnugrep}/bin/grep current) gen=$(nixos-rebuild list-generations | ${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