home-profile: prepare for wezterm
This commit is contained in:
parent
305c891d7d
commit
e046b8878e
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
home.stateVersion = "22.11";
|
||||
home.homeDirectory = "/home/materus";
|
||||
|
||||
programs.wezterm.enable = true;
|
||||
programs.git = {
|
||||
userEmail = "materus@podkos.pl";
|
||||
userName = "materus";
|
||||
|
|
|
@ -18,7 +18,7 @@ let
|
|||
if [ ''$${var} = "${val}" ]; then
|
||||
${ret}
|
||||
fi
|
||||
'';
|
||||
'';
|
||||
|
||||
|
||||
|
||||
|
@ -58,7 +58,12 @@ in
|
|||
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 = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue