diff --git a/users/mae/default.nix b/users/mae/default.nix index bbee68f..6094909 100644 --- a/users/mae/default.nix +++ b/users/mae/default.nix @@ -3,11 +3,12 @@ home-manager.users.mae = { imports = [ ../profiles/git ../profiles/zsh ]; home.packages = with pkgs; [ - arc-theme + arc-theme ]; - + home.sessionVariables = { XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; + NIX_BUILD_SHELL = "zsh"; }; gtk.theme.name = "arc-dark"; programs.neovim = import ./vim.nix { pkgs = pkgs; }; diff --git a/users/profiles/zsh/default.nix b/users/profiles/zsh/default.nix index 17c9093..88e25cc 100644 --- a/users/profiles/zsh/default.nix +++ b/users/profiles/zsh/default.nix @@ -5,13 +5,14 @@ enable = true; plugins = [ { name = "romkatv/powerlevel10k"; tags = [ "as:theme" "depth:1" ]; } + { name = "chisui/zsh-nix-shell"; } ]; }; initExtraFirst = '' - ${builtins.readFile ./p10k.zsh.initfirst} + ${builtins.readFile ./p10k.zsh.initfirst} ''; initExtra = '' - ${builtins.readFile ./p10k.zsh} + ${builtins.readFile ./p10k.zsh} ''; }; }