home-profile: prepare for wezterm
This commit is contained in:
parent
305c891d7d
commit
e046b8878e
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
home.homeDirectory = "/home/materus";
|
home.homeDirectory = "/home/materus";
|
||||||
|
programs.wezterm.enable = true;
|
||||||
programs.git = {
|
programs.git = {
|
||||||
userEmail = "materus@podkos.pl";
|
userEmail = "materus@podkos.pl";
|
||||||
userName = "materus";
|
userName = "materus";
|
||||||
|
|
|
@ -18,7 +18,7 @@ let
|
||||||
if [ ''$${var} = "${val}" ]; then
|
if [ ''$${var} = "${val}" ]; then
|
||||||
${ret}
|
${ret}
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -58,7 +58,12 @@ in
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = builtins.foldl' (a: b: a // b) { } (builtins.map (plugin: { ${plugin.path}.source = plugin.src; }) (builtins.attrValues extraPlugins));
|
home.file = lib.mkMerge [
|
||||||
|
(builtins.foldl' (a: b: a // b) { } (builtins.map (plugin: { ${plugin.path}.source = plugin.src; }) (builtins.attrValues extraPlugins)))
|
||||||
|
{ "${relToDotDir ".zshrc"}".text = lib.mkAfter ''
|
||||||
|
${lib.optionalString config.programs.wezterm.enable "source \"${config.programs.wezterm.package}/etc/profile.d/wezterm.sh\""}
|
||||||
|
''; }
|
||||||
|
];
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -158,7 +163,7 @@ in
|
||||||
${lib.optionalString config.programs.zsh.history.share "unsetopt SHARE_HISTORY"}
|
${lib.optionalString config.programs.zsh.history.share "unsetopt SHARE_HISTORY"}
|
||||||
alias -- 'zsh'="__MATERUS_HM_ZSH_PRIVATE=0 zsh "
|
alias -- 'zsh'="__MATERUS_HM_ZSH_PRIVATE=0 zsh "
|
||||||
''
|
''
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue