-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
119 lines (98 loc) · 2.13 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{ pkgs, ... }:
{
# The home-manager manual is at:
#
# https://rycee.gitlab.io/home-manager/release-notes.html
#
# Configuration options are documented at:
#
# https://rycee.gitlab.io/home-manager/options.html
# Home Manager needs a bit of information about you and the
# paths it should manage.
#
# You need to change these to match your username and home directory
# path:
home.username = "louis";
home.homeDirectory = "/home/louis";
# If you use non-standard XDG locations, set these options to the
# appropriate paths:
#
# xdg.cacheHome
# xdg.configHome
# xdg.dataHome
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.11";
# Since we do not install home-manager, you need to let home-manager
# manage your shell, otherwise it will not be able to add its hooks
# to your profile.
# programs.bash = {
# enable = true;
# };
home.packages = with pkgs; [
# pkgs.htop
# pkgs.fortune
helix
zellij
alacritty
git
github-cli
ifuse
rustup
# gcc
# lldb
# clang-tools
# gnumake
# cmake
# gdb
wimlib
ventoy
# tcsh
# (python3.withPackages (ps: with ps; [
# ipython
# python-lsp-server
# numpy
# matplotlib
# ]))
# eigen
qemu
typst
typst-lsp
starship
zathura
spotify
xournalpp
joplin
joplin-desktop
unzip
p7zip
exa
ripgrep
ripgrep-all
fd
sd
du-dust
procs
tealdeer
];
# ...other config, other config...
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableCompletion = true;
enableSyntaxHighlighting = true;
};
# Or any other shell you're using.program.direnv.enable = true;
programs.starship = {
enable = true;
enableZshIntegration = true;
};
}