-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
110 lines (102 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
{ config, pkgs, ...}:
{
home = {
file={
".profile" = {
text = ''
export EDITOR=hx
'';
};
".config/helix/config.toml".text = ''
theme = "autumn"
[editor]
auto-save = true
auto-format = true
line-number = "relative"
rulers = [80]
[editor.cursor-shape]
insert = "bar"
'';
".config/helix/languages.toml".text = ''
[[language]]
name = "cpp"
auto-format = true
'';
};
homeDirectory = "/home/adem";
packages = with pkgs; [
bc
cmake
doxygen
firefox
gnumake
helix
include-what-you-use
iosevka
jellyfin-media-player
keepassxc
llvm_16
mpv
nnn
nodePackages.typescript
nodePackages.typescript-language-server
nodejs
pavucontrol
piper
python3
signal-desktop
subversion
sqlite
unzip
unrar
weechat
wl-clipboard
];
pointerCursor = {
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
size = 24;
};
stateVersion = "23.05";
username = "adem";
};
programs.git = {
enable = true;
signing = {
key = "5C0125ED93A6C45E";
signByDefault = true;
};
userName = "Adem Aydin";
userEmail = "[email protected]";
};
programs.home-manager.enable = true;
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = 0;
placement_strategy = "top-left";
};
};
programs.zathura.enable = true;
wayland.windowManager.sway = {
enable = true;
config = {
input."type:pointer".pointer_accel = "-1";
input."type:keyboard" = {
repeat_delay = "200";
repeat_rate = "20";
};
modifier = "Mod1";
output.HDMI-A-1 = {
res = "3840x2160@120Hz";
scale = "2";
};
terminal = "kitty";
};
extraSessionCommands = ''
# Set dark theme.
export GTK_THEME=Adwaita:dark
export QT_STYLE_OVERRIDE=adwaita-dark
'';
};
}