From 8aecd29d5823a9fa1376b04aa35705731a9cd733 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Thu, 16 Jan 2025 23:27:18 +0000 Subject: [PATCH] Set zsh as the shell and symlink zshrc --- nix/home.nix | 9 ++++++++- {home => zsh}/.zshrc | 0 2 files changed, 8 insertions(+), 1 deletion(-) rename {home => zsh}/.zshrc (100%) diff --git a/nix/home.nix b/nix/home.nix index a1259f2..8942e64 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -1,13 +1,17 @@ { pkgs, ... }: { home = { stateVersion = "24.05"; + programs = { + zsh = { + enable = true; + }; + }; packages = with pkgs; [ neovim fzf bat git yazi - zsh tmux eza curl @@ -17,5 +21,8 @@ jq starship ]; + file = { + ".zshrc".source = zsh/.zshrc; + }; }; } diff --git a/home/.zshrc b/zsh/.zshrc similarity index 100% rename from home/.zshrc rename to zsh/.zshrc