diff --git a/home-manager/package-configs/zsh.nix b/home-manager/package-configs/zsh.nix index ed22d26..09eedb5 100644 --- a/home-manager/package-configs/zsh.nix +++ b/home-manager/package-configs/zsh.nix @@ -11,10 +11,6 @@ enable = true; }; - environment.interactiveShellInit = '' - alias cd='z' - ''; - programs.zsh = { enable = true; plugins = [ diff --git a/nixos/shared/default.nix b/nixos/shared/default.nix index 55493b2..11217d3 100644 --- a/nixos/shared/default.nix +++ b/nixos/shared/default.nix @@ -54,6 +54,10 @@ # Enable completion of system packages by zsh environment.pathsToLink = ["/share/zsh"]; + environment.interactiveShellInit = '' + alias cd='z' + ''; + users.mutableUsers = false; users.users.root = {