From 8f4f46e59ad0b7c5662a417d10f3074f17c962c3 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 7 Sep 2025 00:37:22 -0700 Subject: big update; fix vps and streamline some stuff --- nix/modules/home/zsh.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nix/modules/home/zsh.nix') diff --git a/nix/modules/home/zsh.nix b/nix/modules/home/zsh.nix index 31c7680..9f848bc 100644 --- a/nix/modules/home/zsh.nix +++ b/nix/modules/home/zsh.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ... }: +{ lib, config, pkgs, systemHostName, ... }: { programs.zsh = { enable = true; @@ -25,8 +25,7 @@ g = "git"; v = "vim"; py = "python3"; - rb = "sudo nixos-rebuild switch --flake .#continuity"; - rba = "sudo nixos-rebuild switch --flake .#affinity"; + rb = "sudo nixos-rebuild switch --flake .#${systemHostName}"; nfu = "cd ~/monorepo/nix && git add . && git commit -m \"new flake lock\" && nix flake update"; usync = "rsync -azvP --chmod=\"Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r\" ~/website_html/ root@${config.monorepo.vars.remoteHost}:/var/www/ret2pop-website/"; usite -- cgit v1.3