enable zsh

This commit is contained in:
Sridhar Ratnakumar 2024-10-23 21:39:04 -04:00
parent e3e6a7dd7b
commit 5941c427ea
No known key found for this signature in database
3 changed files with 5 additions and 3 deletions

View file

@ -21,6 +21,7 @@ in
services.fprintd.enable = true;
programs.nix-ld.enable = true; # for vscode server
programs.zsh.enable = true;
# Workaround the annoying `Failed to start Network Manager Wait Online` error on switch.
# https://github.com/NixOS/nixpkgs/issues/180175

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{
home.sessionPath = [
home.sessionPath = lib.mkIf pkgs.stdenv.isDarwin [
"/etc/profiles/per-user/$USER/bin"
"/nix/var/nix/profiles/system/sw/bin"
"/usr/local/bin"
@ -18,7 +18,7 @@
}
];
envExtra = ''
envExtra = lib.mkIf pkgs.stdenv.isDarwin ''
# Because, adding it in .ssh/config is not enough.
# cf. https://developer.1password.com/docs/ssh/get-started#step-4-configure-your-ssh-or-git-client
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock

View file

@ -1,6 +1,7 @@
{
imports = [
./all/bash.nix
./all/zsh.nix
./all/vscode-server.nix
./all/rio.nix
];