mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-09 04:01:15 +00:00
Added trace versions of nix rebuild and update, fixed a font name that was changed, commented nvtop for failing build, switched btop to cuda variant
This commit is contained in:
@@ -23,9 +23,14 @@
|
||||
programs.bash.shellAliases = {
|
||||
# Nix rebuild, switch
|
||||
nrs = "bash -c \"cd /etc/nixos && sudo nixos-rebuild switch --flake .#$(hostname) ; exit\"";
|
||||
# with tracing
|
||||
tnrs = "bash -c \"cd /etc/nixos && sudo nixos-rebuild switch --show-trace --flake .#$(hostname) ; exit\"";
|
||||
|
||||
|
||||
# Nix flake update, rebuild, switch
|
||||
nus = "bash -c \"cd /etc/nixos && sudo nix flake update && sudo nixos-rebuild switch --flake .#$(hostname) ; exit\"";
|
||||
nus = "bash -c \"cd /etc/nixos && sudo nix flake update && nrs ; exit\"";
|
||||
# with tracing
|
||||
tnus = "bash -c \"cd /etc/nixos && sudo nix flake update && tnrs ; exit\"";
|
||||
|
||||
# Special cleanup, needed when efi partition runs out of space. Deletes all but the last five generations.
|
||||
# Remember to make that partition bigger in the future...
|
||||
|
||||
Reference in New Issue
Block a user