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