diff --git a/home/modules/shell/shell.nix b/home/modules/shell/shell.nix index 27c3e90..e920a24 100644 --- a/home/modules/shell/shell.nix +++ b/home/modules/shell/shell.nix @@ -40,8 +40,8 @@ }; shellAliases = { - system = "nvim /home/maxag/.nix-config/flake.nix"; - home = "nvim /home/maxag/.nix-config/home/${device-name}/home.nix"; + system = "^$env.EDITOR /home/maxag/.nix-config/flake.nix"; + home = "^$env.EDITOR /home/maxag/.nix-config/home/${device-name}/home.nix"; cat = "bat -p -P"; nix-shell = "nix-shell --run nu"; garbage = " sudo nix-collect-garbage --delete-old";