From 1c97431ca95bb80aa1497311962cf906a9aa093c Mon Sep 17 00:00:00 2001 From: installer Date: Sat, 2 Nov 2024 10:51:53 +0100 Subject: [PATCH] =?UTF-8?q?dodanie=20kilku=20alias=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/garand-laptop/home.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/garand-laptop/home.nix b/hosts/garand-laptop/home.nix index e1f7c59..4311e37 100644 --- a/hosts/garand-laptop/home.nix +++ b/hosts/garand-laptop/home.nix @@ -187,7 +187,10 @@ in { fi ''; shellAliases = { - sv = "sudo nvim"; + os-sw = "sudo nixos-rebuild switch --flake ~/zaneyos"; + os-bt = "sudo nixos-rebuild boot --flake ~/zaneyos"; + os-ts = "sudo nixos-rebuild test --flake ~/zaneyos"; + os-up = "sudo nix flake update"; fr = "nh os switch --hostname ${host} /home/${username}/zaneyos"; fu = "nh os switch --hostname ${host} --update /home/${username}/zaneyos"; zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)"; @@ -197,6 +200,7 @@ in { ls = "eza --icons"; ll = "eza -lh --icons --grid --group-directories-first"; la = "eza -lah --icons --grid --group-directories-first"; + ssh-server = "ssh garand_plg@192.168.1.156 -p 556 -i ~/.ssh/hp-t640-homeserver"; ".." = "cd .."; }; };