-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
174 lines (162 loc) · 3.17 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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{ config, pkgs, ... }:
{
programs.vscode = {
enable = true;
package = pkgs.vscode-fhs;
extensions = with pkgs.vscode-extensions; [
ms-vsliveshare.vsliveshare
];
};
manual.manpages.enable = false;
home = {
stateVersion = "23.05";
username = "mmagueta";
homeDirectory = "/home/mmagueta";
sessionVariables = {
DOTNET_ROOT = "${pkgs.dotnet-sdk_8}";
# LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
};
};
services.udiskie = {
enable = true;
automount = true;
};
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
# nyxt
# rebar3
# erlang
# erlang-ls
# lfe
# ecl
# nodejs
zip
libreoffice
# ocaml
# ocamlformat
# ocamlPackages.dune_3
# ocamlPackages.odoc
# opam
# ocamlPackages.ocaml-lsp
# ocamlPackages.menhir
# ocamlPackages.utop
steam-tui
steamcmd
# OpenGL
# libGL libGLU glew freeglut glxinfo
# postman
ispell
# racket-minimal
# jdk16
# clojure
# clojure-lsp
obs-studio
spotify
signal-desktop
# fstar
# z3
gcc
# libc
# stdenv.cc.cc
gnumake
# qemu
# nasm
# clang-tools
# llvmPackages_latest.libstdcxxClang
# llvmPackages_latest.libcxx
swiProlog
# feh
htop
# ocaml
# opam
# ocamlPackages.ocaml-lsp
# dune_3
discord
# insomnia
docker-compose
firefox
git-crypt
gnupg
# stack
# ghc
# cabal-install
# haskell-language-server
# hlint
wget
# plantuml
gnutls
fastfetch
netcoredbg
dotnet-sdk_8
icu # FSAutocomplete dependency
# magemacs
emacs
emacs-all-the-icons-fonts
git
jetbrains.rider
terminator
# sqls
# postgresql
rosegarden
jack2
qjackctl
nil # Nix LSP
thunderbird
zulip
];
# programs.waybar.enable = true;
programs.zsh = {
enable = true;
initExtra = ''
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
'';
oh-my-zsh = {
enable = true;
plugins = [ "git" "dotnet" ];
theme = "robbyrussell";
};
};
programs.home-manager.enable = true;
# programs.alacritty = {
# enable = true;
# };
programs.git = {
enable = true;
userName = "Marcos Magueta";
userEmail = "[email protected]";
ignores = [ "result" ];
delta = {
enable = true;
options = {
features = "side-by-side line-numbers decorations";
delta = {
navigate = true;
};
line-numbers = {
line-numbers-minus-style = 124;
line-numbers-plus-style = 28;
};
};
};
extraConfig = {
rerere.enabled = true;
merge = {
conflictstyle = "diff3";
};
};
lfs = {
enable = true;
};
};
programs.gpg.enable = true;
services.gpg-agent = {
enable = true;
enableSshSupport = true;
defaultCacheTtl = 34560000;
defaultCacheTtlSsh = 34560000;
maxCacheTtl = 34560000;
maxCacheTtlSsh = 34560000;
pinentryPackage = pkgs.pinentry-gnome3;
sshKeys = [ "9AA3054F8732794A8B33510B5B9E5F9D7211E7B1" ];
};
}