From 371a5d3188dc1c0bd77063599c1e119c70405672 Mon Sep 17 00:00:00 2001 From: jmug Date: Sun, 1 Mar 2026 13:49:24 -0800 Subject: [PATCH] [nixbox] Interpolate home directory into shell aliases. --- hosts/nixbox/home.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/hosts/nixbox/home.nix b/hosts/nixbox/home.nix index 7ee2661..0a58260 100644 --- a/hosts/nixbox/home.nix +++ b/hosts/nixbox/home.nix @@ -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";