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;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
# zsh
|
|
||||||
".zshrc".source = "${dotfiles}/zsh/.zshrc";
|
|
||||||
|
|
||||||
# tmux
|
# tmux
|
||||||
".tmux.conf".source = "${dotfiles}/tmux/.tmux.conf";
|
".tmux.conf".source = "${dotfiles}/tmux/.tmux.conf";
|
||||||
|
|
||||||
@@ -53,6 +50,12 @@ in {
|
|||||||
else "${dotfiles}/hypr/.config/hypr/hosts/laptop.conf";
|
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; [
|
home.packages = with pkgs; [
|
||||||
git zsh tmux starship
|
git zsh tmux starship
|
||||||
neovim kitty
|
neovim kitty
|
||||||
@@ -66,9 +69,6 @@ in {
|
|||||||
pavucontrol
|
pavucontrol
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.bash.enable = true;
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
|
|
||||||
xdg.userDirs = {
|
xdg.userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
createDirectories = true;
|
createDirectories = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user