Add nix-shell zsh

This commit is contained in:
Bad 2021-04-10 14:50:48 +02:00
parent e5d8397eaa
commit c14709c941
2 changed files with 6 additions and 4 deletions

View file

@ -3,11 +3,12 @@
home-manager.users.mae = { home-manager.users.mae = {
imports = [ ../profiles/git ../profiles/zsh ]; imports = [ ../profiles/git ../profiles/zsh ];
home.packages = with pkgs; [ home.packages = with pkgs; [
arc-theme arc-theme
]; ];
home.sessionVariables = { home.sessionVariables = {
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; 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"; gtk.theme.name = "arc-dark";
programs.neovim = import ./vim.nix { pkgs = pkgs; }; programs.neovim = import ./vim.nix { pkgs = pkgs; };

View file

@ -5,13 +5,14 @@
enable = true; enable = true;
plugins = [ plugins = [
{ name = "romkatv/powerlevel10k"; tags = [ "as:theme" "depth:1" ]; } { name = "romkatv/powerlevel10k"; tags = [ "as:theme" "depth:1" ]; }
{ name = "chisui/zsh-nix-shell"; }
]; ];
}; };
initExtraFirst = '' initExtraFirst = ''
${builtins.readFile ./p10k.zsh.initfirst} ${builtins.readFile ./p10k.zsh.initfirst}
''; '';
initExtra = '' initExtra = ''
${builtins.readFile ./p10k.zsh} ${builtins.readFile ./p10k.zsh}
''; '';
}; };
} }