[nixbox] Interpolate home directory into shell aliases.
This commit is contained in:
@@ -117,12 +117,10 @@ in {
|
|||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# TODO BEGIN Interpolate the name of the host here.
|
flakeconf = "nvim ${homeDirectory}/nixos/flake.nix";
|
||||||
# flakeconf = "sudo nvim /etc/nixos/flake.nix";
|
nosconf = "nvim ${homeDirectory}/nixos/hosts/nixbox/configuration.nix";
|
||||||
# nosconf = "sudo nvim /etc/nixos/hosts/devbox/configuration.nix";
|
homeconf = "nvim ${homeDirectory}/nixos/hosts/nixbox/home.nix";
|
||||||
# homeconf = "sudo nvim /etc/nixos/hosts/devbox/home.nix";
|
nvconf = "sudo nvim ${homeDirectory}/nixos/home-modules/explicit-configs/nvim/init.lua";
|
||||||
# nvconf = "sudo nvim /etc/nixos/home-modules/explicit-configs/nvim/init.lua";
|
|
||||||
# TODO END Interpolate the name of the host here.
|
|
||||||
rshellconf = "source ~/.zshrc";
|
rshellconf = "source ~/.zshrc";
|
||||||
# TODO: Interpolate the name of the host here.
|
# TODO: Interpolate the name of the host here.
|
||||||
nrsw = "sudo nixos-rebuild switch --flake ${homeDirectory}/nixos#nixbox";
|
nrsw = "sudo nixos-rebuild switch --flake ${homeDirectory}/nixos#nixbox";
|
||||||
|
|||||||
Reference in New Issue
Block a user