-
Notifications
You must be signed in to change notification settings - Fork 31
/
home.nix
38 lines (34 loc) · 970 Bytes
/
home.nix
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
37
38
# Edit this to install packages and modify dotfile configuration in your
# $HOME.
#
# https://nix-community.github.io/home-manager/index.html#sec-usage-configuration
{ pkgs, ... }: {
imports = [
# Add your other home-manager modules here.
];
# Nix packages to install to $HOME
#
# Search for packages here: https://search.nixos.org/packages
home.packages = with pkgs; [
nix-output-monitor # https://github.com/maralorn/nix-output-monitor
nix-info
];
# Programs natively supported by home-manager.
programs = {
bash.enable = true;
# For macOS's default shell.
zsh = {
enable = true;
envExtra = ''
# Make Nix and home-manager installed things available in PATH.
export PATH=/run/current-system/sw/bin/:$HOME/.nix-profile/bin:$PATH
'';
};
# https://haskell.flake.page/direnv
direnv = {
enable = true;
nix-direnv.enable = true;
};
starship.enable = true;
};
}