diff options
| -rw-r--r-- | components/programs/zsh.nix | 8 | ||||
| -rw-r--r-- | systems/afrodite/default.nix | 5 | ||||
| -rw-r--r-- | systems/hermes/default.nix | 7 | ||||
| -rw-r--r-- | systems/odino/default.nix | 5 |
4 files changed, 11 insertions, 14 deletions
diff --git a/components/programs/zsh.nix b/components/programs/zsh.nix index 9ace5fd..b5b97a2 100644 --- a/components/programs/zsh.nix +++ b/components/programs/zsh.nix @@ -18,6 +18,14 @@ plugins = [ "git" "ssh" ]; }; + shellAliases = { + ls = "eza"; + l = "ls -lh"; + ll = "ls -lah"; + + ssh = "TERM=xterm-256color ssh"; + }; + initContent = '' # Ctrl + arrow keys bindkey '^[Oc' forward-word diff --git a/systems/afrodite/default.nix b/systems/afrodite/default.nix index c404d81..b9ecd05 100644 --- a/systems/afrodite/default.nix +++ b/systems/afrodite/default.nix @@ -20,13 +20,10 @@ extraGroups = [ "wheel" "networkmanager" ]; }; + # Shell programs.zsh.enable = true; environment.shellAliases = { - ls = "eza"; - l = "ls -lh"; - ll = "ls -lah"; - update-boot = "sudo nixos-rebuild boot --flake ~/nixos#afrodite"; update-system = "sudo nixos-rebuild switch --flake ~/nixos#afrodite"; update-home = "home-manager switch --flake ~/nixos#afrodite"; diff --git a/systems/hermes/default.nix b/systems/hermes/default.nix index 9b491d7..2665121 100644 --- a/systems/hermes/default.nix +++ b/systems/hermes/default.nix @@ -21,18 +21,13 @@ extraGroups = [ "wheel" "networkmanager" "video" ]; }; + # Shell programs.zsh.enable = true; environment.shellAliases = { - ls = "eza"; - l = "ls -lh"; - ll = "ls -lah"; - update-boot = "sudo nixos-rebuild boot --flake ~/nixos#hermes"; update-system = "sudo nixos-rebuild switch --flake ~/nixos#hermes"; update-home = "home-manager switch --flake ~/nixos#hermes"; - - ssh = "TERM=xterm-256color ssh"; }; # Version diff --git a/systems/odino/default.nix b/systems/odino/default.nix index fca67b9..572f227 100644 --- a/systems/odino/default.nix +++ b/systems/odino/default.nix @@ -20,13 +20,10 @@ extraGroups = [ "wheel" "networkmanager" ]; }; + # Shell programs.zsh.enable = true; environment.shellAliases = { - ls = "eza"; - l = "ls -lh"; - ll = "ls -lah"; - update-boot = "sudo nixos-rebuild boot --flake ~/nixos#odino"; update-system = "sudo nixos-rebuild switch --flake ~/nixos#odino"; update-home = "home-manager switch --flake ~/nixos#odino"; |
