Use path-relative locations for files
This commit is contained in:
parent
b7e8802bcc
commit
8aa66e766e
2 changed files with 9 additions and 6 deletions
9
home.nix
9
home.nix
|
@ -102,7 +102,7 @@ in {
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
{
|
{
|
||||||
name = "expand-multiple-dots";
|
name = "expand-multiple-dots";
|
||||||
src = "${config.home.homeDirectory}/.dotfiles/zsh/expand-multiple-dots";
|
src = ./zsh/expand-multiple-dots;
|
||||||
file = "expand-multiple-dots.zsh";
|
file = "expand-multiple-dots.zsh";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -153,11 +153,14 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file = {
|
||||||
# We must source the p10k config.
|
# We must source the p10k config.
|
||||||
# TODO: We should manage the config via programs.zsh.plugins.
|
# TODO: We should manage the config via programs.zsh.plugins.
|
||||||
home.file.".p10k.zsh".source = "${config.home.homeDirectory}/.dotfiles/p10k.zsh";
|
".p10k.zsh".source = ./zsh/p10k.zsh;
|
||||||
# We'd also like to have the iTerm2 shell integration utilities in ~/.iterm2.
|
# We'd also like to have the iTerm2 shell integration utilities in ~/.iterm2.
|
||||||
home.file.".iterm2".source = "${iterm2_shell_integration}/utilities";
|
".iterm2".source = "${iterm2_shell_integration}/utilities";
|
||||||
|
};
|
||||||
|
|
||||||
programs.zsh.initExtra = ''
|
programs.zsh.initExtra = ''
|
||||||
source $HOME/.p10k.zsh
|
source $HOME/.p10k.zsh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue