126 current 2024-12-31 05:15:06 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2024-12-31 05:15:12 -05:00
parent 588c8e8143
commit 009319f7a2
2 changed files with 6 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ in {
]; ];
groups = ["wheel"]; groups = ["wheel"];
} }
];;; ];
}; };
# Install firefox. # Install firefox.

View File

@@ -24,20 +24,24 @@ alejandra . &>/dev/null \
git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff -U0 git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff -U0
# '*.nix' # '*.nix'
echo ""
echo "NixOS Rebuilding..." echo "NixOS Rebuilding..."
# Rebuild, output simplified errors, log trackebacks # Rebuild, output simplified errors, log trackebacks
sudo nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix &> /tmp/nixos-switch.log sudo nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix &> /tmp/nixos-switch.log
cat /tmp/nixos-switch.log | grep --color error && (rm /tmp/nixos-switch.log; exit 1) cat /tmp/nixos-switch.log | grep --color error && exit 1
# Get current generation metadata # Get current generation metadata
current=$(nixos-rebuild list-generations | grep current) current=$(nixos-rebuild list-generations | grep current)
# Commit all changes witih the generation metadata # Commit all changes witih the generation metadata
git --git-dir /home/synchronous/nix-cfg/.git commit -am "$current" git --git-dir /home/synchronous/nix-cfg/.git commit -am "$current"
/home/synchronous/nix-cfg/home/scripts
# Back to where you were # Back to where you were
popd popd
rm /tmp/nixos-switch.log
# Notify all OK! # Notify all OK!
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available