-
Notifications
You must be signed in to change notification settings - Fork 0
/
home-manager.nix
167 lines (142 loc) · 3.3 KB
/
home-manager.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
{ config, pkgs, lib, inputs, ... }:
{
imports = [
#./sway.nix
#./fonts.nix
];
home-manager.users.tim = {lib, ...}:
{
#wayland.windowManager.sway.enable = true;
home.packages = with pkgs; [
#terminal-emulators
foot
sakura
#terminal_utils
wget
gnufdisk
tmux
vim
neovim
htop
zip
unzip
s-tar
unrar
ncdu
nnn
fzf
fd
ripgrep
powertop
chafa
pistol
neofetch
#scree-capturing
grim
slurp
wf-recorder
swappy
#desktop_env
swaylock
swayidle
xdg_utils
wl-clipboard
wlsunset
gnome.adwaita-icon-theme
brightnessctl
fuzzel
pcmanfm
xarchiver
bitwarden
#browsers
firefox
(chromium.override ({ commandLineArgs = "--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland"; }))
#git
lazygit
git
#connection
tdesktop
discord
slack
viber
anydesk
#media
mpv
zathura
vimiv-qt
pqiv
sxiv
deadbeef
transmission-gtk
#system&helpers
libnotify
wev
gcc
gnumake
appimage-run
xorg.xeyes
lm_sensors
libva-utils
trash-cli
gebaar-libinput
#audio
pulseaudio
pavucontrol
pulsemixer
pamixer
#fonts
corefonts
#nerd-fonts
(nerdfonts.override { fonts = [ "SourceCodePro" ]; })
];
xdg = {
enable = true;
mime.enable = true;
# mimeApps = {
# enable = true;
# defaultApplications = {
# "text/plain" = "nvim.desktop";
# "text/x-log" = "nvim.desktop";
# "text/html"="chromium.desktop";
# "x-scheme-handler/http"="chromium.desktop";
# "x-scheme-handler/https"="chromium.desktop";
# "x-scheme-handler/about"="chromium.desktop";
# "x-scheme-handler/unknown"="chromium.desktop";
# };
# };
userDirs.enable = true;
userDirs.createDirectories = true;
};
programs = {
direnv.enable = true;
direnv.nix-direnv.enable = true;
mako.enable = true;
waybar.enable = true;
};
home.file.".config/nvim" = {
source = ./config/nvim;
recursive = true;
};
home.file.".vim" = {
source = ./config/vim;
recursive = true;
};
home.file.".terminfo" = {
source = ./config/terminfo;
recursive = true;
};
xdg.configFile."nnn/plugins" = {
source = ./config/nnn/plugins;
recursive = true;
};
xdg.configFile."mimeapps.list".source = ./config/mimeapps.list;
xdg.configFile."sway/config".source = ./config/sway/config;
home.file.".zshrc".source = ./config/zsh/zshrc;
xdg.configFile."foot/foot.ini".source = ./config/foot/foot.ini;
xdg.configFile."alacritty/alacritty.yml".source = ./config/alacritty/alacritty.yml;
home.file.".config/tmux/tmux.conf".source = ./config/tmux/tmux.conf;
home.file.".config/jesseduffield/lazygit/config.yml".source = ./config/lazygit/config.yml;
xdg.configFile."swappy/config".source = ./config/swappy/config;
xdg.configFile."gebaar/gebaard.toml".source = ./config/gebaar/gebaard.toml;
};
}