diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-09-07 00:37:22 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-09-07 00:37:22 -0700 |
| commit | 8f4f46e59ad0b7c5662a417d10f3074f17c962c3 (patch) | |
| tree | 0559b33322f902e76498b5864f39d8c663ce45a8 /nix/modules/home/zsh.nix | |
| parent | 262a367c90362403ed5e0b4db41daf20e191538c (diff) | |
big update; fix vps and streamline some stuff
Diffstat (limited to 'nix/modules/home/zsh.nix')
| -rw-r--r-- | nix/modules/home/zsh.nix | 5 |
1 files changed, 2 insertions, 3 deletions
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 |
