From 9884ed23c1809189b21a8fd02adfbf0fe395ac10 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Mon, 4 Mar 2024 16:17:16 +0100 Subject: [PATCH] Needs to be in there instead --- home-manager/package-configs/zsh.nix | 4 ---- nixos/shared/default.nix | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) 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 = {