From 2cfa041b75d6d3dfa186b4578b7f50b02e2eb3d4 Mon Sep 17 00:00:00 2001 From: Martin Benonisen Date: Thu, 31 Oct 2024 13:20:48 +0100 Subject: [PATCH] lol --- user/zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/zsh/default.nix b/user/zsh/default.nix index ccf68c9..d6c901b 100644 --- a/user/zsh/default.nix +++ b/user/zsh/default.nix @@ -13,7 +13,7 @@ sudo rm /nix/var/nix/gcroots/auto/* sudo nix-collect-garbage -d ''; - nrebuild = "nix flake update /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc"; + nrebuild = "git -C /home/mbeno/git/nixos add --all && git -C /home/mbeno/git/nixos commit -m'lol' && nix flake update --flake /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc"; nlog = '' revpath="/nix/var/nix/profiles"; lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1);