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
docker
git
nix-output-monitor
ranger
sops
unstable.nh
vim
wget
];

View File

@ -11,7 +11,7 @@
${pkgs.alejandra}/bin/alejandra . &>/dev/null
${pkgs.git}/bin/git diff -U0
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)
${pkgs.git}/bin/git commit --no-gpg-sign -am "$gen"
popd