-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
157 lines (137 loc) · 3.37 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
{ config, lib, pkgs, ... }:
let
in
{
nixpkgs.config.allowUnfree = true;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.bash.enable = true;
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "llelievr";
home.homeDirectory = "/home/llelievr";
programs.git = {
enable = true;
userName = "loucass003";
userEmail = "[email protected]";
};
home.packages = (with pkgs; [
oh-my-zsh
gnome.eog # image viewer
evince # pdf reader
# desktop look & feel
gnome.gnome-tweaks
# extensions
gnomeExtensions.appindicator
gnomeExtensions.dash-to-dock
gnomeExtensions.caffeine
gnomeExtensions.screenshot-tool
gnomeExtensions.clipboard-indicator
gnomeExtensions.bluetooth-quick-connect
gnomeExtensions.refresh-wifi-connections
gnomeExtensions.sound-output-device-chooser
xorg.libXxf86vm
libpulseaudio
postman
filezilla
jetbrains.datagrip
htop
google-chrome
firefox
openssl
unrar
unzip
vscode
docker-compose
usbutils
pciutils
pavucontrol
gimp
spotify
discord
lutris
gjs
heroku
(pkgs.writeShellScriptBin "upload-uat" ''
cp linkaband-front/dist linkaband-front/package.json linkaband-front/package-lock.json -r lkb-uat
rm -rf lkb-uat/dist/browser/stats-es2015.json lkb-uat/dist/browser/stats-es5.json
cd lkb-uat
git add dist package.json package-lock.json
git commit -m "$1"
git push heroku master
'')
parsec-bin
dbeaver
mysql80
obs-studio
beekeeper-studio
gcc
gnumake
cargo
rustc
pkgconfig
steam
]);
programs.zellij = {
enable = true;
};
programs.starship = {
enable = true;
enableZshIntegration = true;
};
programs.zsh = {
enable = true;
autocd = true;
dotDir = ".config/zsh";
enableAutosuggestions = true;
enableCompletion = true;
oh-my-zsh = {
enable = true;
plugins = [
"git"
"python"
"man"
];
};
plugins = [
{
name = "zsh-syntax-highlighting";
file = "zsh-syntax-highlighting.zsh";
src = pkgs.fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
rev = "0.7.1";
sha256 = "gOG0NLlaJfotJfs+SUhGgLTNOnGLjoqnUp54V9aFJg8=";
};
}
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.1.0";
sha256 = "0snhch9hfy83d4amkyxx33izvkhbwmindy0zjjk28hih1a9l2jmx";
};
}
];
localVariables = {
LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:$HOME/.nix-profile/lib";
EDITOR = "nvim";
};
};
manual.manpages.enable = false;
programs.neovim = {
enable = true;
vimAlias = true;
};
# 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 = "21.05";
}