From 3ce550691ca98b8d7d4e5fd7d2c2c86ac82601d9 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 20 Jun 2026 16:25:50 -0400 Subject: [PATCH] fix: use zsh.initExtra for dotfiles config (no home.file conflict) --- users/gortium/home.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/users/gortium/home.nix b/users/gortium/home.nix index 9b509b2..f0a04f8 100644 --- a/users/gortium/home.nix +++ b/users/gortium/home.nix @@ -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;