fix: use zsh.initExtra for dotfiles config (no home.file conflict)
This commit is contained in:
@@ -10,9 +10,6 @@ in {
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.file = {
|
||||
# zsh
|
||||
".zshrc".source = "${dotfiles}/zsh/.zshrc";
|
||||
|
||||
# tmux
|
||||
".tmux.conf".source = "${dotfiles}/tmux/.tmux.conf";
|
||||
|
||||
@@ -53,6 +50,12 @@ in {
|
||||
else "${dotfiles}/hypr/.config/hypr/hosts/laptop.conf";
|
||||
};
|
||||
|
||||
programs.bash.enable = true;
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
initExtra = builtins.readFile "${dotfiles}/zsh/.zshrc";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
git zsh tmux starship
|
||||
neovim kitty
|
||||
@@ -66,9 +69,6 @@ in {
|
||||
pavucontrol
|
||||
];
|
||||
|
||||
programs.bash.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
|
||||
Reference in New Issue
Block a user