blob: 77bc68d3fb8e5ee01ae976906af4d9f1038a3720 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
git
];
users.defaultUserShell = pkgs.zsh;
programs.zsh = {
enable = true;
# Disabling compinit in /etc/zshrc so that we can call
# compinit with a custom zcompdump location in .zshrc.
enableGlobalCompInit = false;
};
environment.sessionVariables =
let
config = "$HOME/config/user";
in
{
# Set environment variables for software that doesn't
# follow the XDG Base Directory specification.
ZDOTDIR = "${config}/zsh";
};
}
|