From 2eb6aaae519b0d56a440f8f1583ce8c057ab8c34 Mon Sep 17 00:00:00 2001 From: Martin Benonisen Date: Sun, 3 Nov 2024 11:08:44 +0100 Subject: [PATCH] lol --- user/zsh/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/user/zsh/default.nix b/user/zsh/default.nix index 1994a7f..e285777 100644 --- a/user/zsh/default.nix +++ b/user/zsh/default.nix @@ -13,7 +13,9 @@ sudo rm /nix/var/nix/gcroots/auto/* sudo nix-collect-garbage -d ''; - 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"; + nreb = "nix flake update --flake /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc"; + nbo = "nix flake update --flake /home/mbeno/git/nixos && sudo nixos-rebuild boot --flake /home/mbeno/git/nixos && reboot"; + ncom = "git -C /home/mbeno/git/nixos add --all && git -C /home/mbeno/git/nixos commit -m'lol'"; nlog = '' revpath="/nix/var/nix/profiles"; lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1); @@ -57,5 +59,7 @@ }; history.size = 1000000; history.path = "${config.xdg.dataHome}/zsh/history"; + histSize = 1000000; + histFile = "${config.xdg.dataHome}/zsh/history2"; }; }