blob: 4ef0c14bc074814574241fd48e7da957f1332998 (
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
28
29
30
31
32
33
34
35
36
|
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
git
# lowPrio because we use vim-full in the workstation profile
(lowPrio vim)
file
htop
ripgrep
tree
# TODO: use a tree alternative that understands .gitignore
wget
];
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";
};
}
|