[nixbox] Interpolate home directory into shell aliases.

This commit is contained in:
jmug
2026-03-01 13:49:24 -08:00
parent 8e4d95e6f1
commit 371a5d3188
+4 -6
View File
@@ -117,12 +117,10 @@ in {
programs.zsh = {
shellAliases = {
# TODO BEGIN Interpolate the name of the host here.
# flakeconf = "sudo nvim /etc/nixos/flake.nix";
# nosconf = "sudo nvim /etc/nixos/hosts/devbox/configuration.nix";
# homeconf = "sudo nvim /etc/nixos/hosts/devbox/home.nix";
# nvconf = "sudo nvim /etc/nixos/home-modules/explicit-configs/nvim/init.lua";
# TODO END Interpolate the name of the host here.
flakeconf = "nvim ${homeDirectory}/nixos/flake.nix";
nosconf = "nvim ${homeDirectory}/nixos/hosts/nixbox/configuration.nix";
homeconf = "nvim ${homeDirectory}/nixos/hosts/nixbox/home.nix";
nvconf = "sudo nvim ${homeDirectory}/nixos/home-modules/explicit-configs/nvim/init.lua";
rshellconf = "source ~/.zshrc";
# TODO: Interpolate the name of the host here.
nrsw = "sudo nixos-rebuild switch --flake ${homeDirectory}/nixos#nixbox";