This commit is contained in:
Martin Benonisen 2024-11-03 11:08:44 +01:00
parent f2e3256cc9
commit 2eb6aaae51
Signed by: mbeno
SSH Key Fingerprint: SHA256:iAzOA1WUAxocdh/WRWXcSg5nw2dJ1aDCvPuT+3ZjkwI

View File

@ -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";
};
}