-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathdefault.nix
156 lines (151 loc) · 2.74 KB
/
default.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
config,
pkgs,
...
}: let
homeDir = config.home.homeDirectory;
in {
imports = [
./bat.nix
./direnv.nix
./dotfiles
./fzf.nix
./git.nix
./nushell.nix
./nvim
./shell.nix
./ssh.nix
./tldr.nix
./tmux.nix
];
nixpkgs.config = {
allowUnfree = true;
};
home = {
# 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.
stateVersion = "22.05";
sessionVariables = {
GPG_TTY = "/dev/ttys000";
EDITOR = "nvim";
VISUAL = "nvim";
CLICOLOR = 1;
LSCOLORS = "ExFxBxDxCxegedabagacad";
NODE_PATH = "${homeDir}/.node";
};
sessionPath = [
"${homeDir}/.local/bin"
"${homeDir}/.node/bin"
];
# define package definitions for current user environment
packages = with pkgs; [
# age
alejandra
argocd
asciidoctor
cacert
cachix
cb
cirrus-cli
comma
coreutils-full
curl
d2
diffutils
dive
dotenvx
fd
ffmpeg
findutils
gawk
gdu
git-absorb
gnugrep
gnupg
gnused
grype
helm-docs
httpie
hurl
hyperfine
jnv
kotlin
kubectl
kubectx
kubernetes-helm
kustomize
lazydocker
luajit
mmv
nix
nixd
nixfmt-rfc-style
nixpacks
nmap
nodejs_20
openldap
parallel
pre-commit
# python with default packages
(python3.withPackages
(ps:
with ps; [
duckdb
httpx
matplotlib
networkx
numpy
polars
scipy
]))
ranger
rclone
restic
ruff
rsync
shellcheck
stylua
starship
sysdo
tree
trivy
usage
uv
yq-go
zoxide
];
};
fonts.fontconfig.enable = true;
programs = {
home-manager = {
enable = true;
};
dircolors.enable = true;
eza = {
enable = true;
extraOptions = [
"--group-directories-first"
"--git"
];
};
fastfetch.enable = true;
go.enable = true;
gpg.enable = true;
htop.enable = true;
jq.enable = true;
k9s.enable = true;
lazygit.enable = true;
less.enable = true;
man.enable = true;
nix-index.enable = true;
pandoc.enable = true;
ripgrep.enable = true;
yt-dlp.enable = true;
};
}