1770245770
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
{
|
||||
home.shellAliases = {
|
||||
# Nix Commands
|
||||
"nix:rebuild" = "sudo nixos-rebuild switch --flake .#$(HOSTNAME)";
|
||||
"nix:update" = "nix flake update";
|
||||
"nix:rebuild" = "sudo nixos-rebuild switch --flake /etc/nixos";
|
||||
"nix:update" = "cd /etc/nixos && nix flake update";
|
||||
"nix:purge" = "sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
"nix:edit" = "$EDITOR /etc/nixos";
|
||||
"nix:push" = "cd /etc/nixos && git add -A && git commit -m \"$(date -u +%s)\" && git push";
|
||||
|
||||
Reference in New Issue
Block a user