mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-11 09:17:54 +08:00
enable zsh
This commit is contained in:
parent
e3e6a7dd7b
commit
5941c427ea
3 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./all/bash.nix
|
||||
./all/zsh.nix
|
||||
./all/vscode-server.nix
|
||||
./all/rio.nix
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue