blob: f2771cc419a37743d372d926479306f7a5ab53c7 (
plain) (
blame)
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
|
{ inputs, pkgs, ... }:
{
home.stateVersion = "24.11";
home.username = "mora";
home.homeDirectory = "/home/mora";
###
### Shells
###
programs.bash.enable = true;
programs.fish.enable = true;
programs.nushell.enable = true;
###
### Software
###
programs.eza.enable = true;
programs.ripgrep.enable = true;
programs.zoxide.enable = true;
programs.neovim.enable = true;
programs.neovim.defaultEditor = true;
programs.git = {
enable = true;
delta.enable = true;
includes = [{
contents = {
user.name = "Mora Unie Youer";
user.email = "[email protected]";
user.signingKey = "0x7AB91D83B25E6D7F";
commit.gpgSign = true;
init.defaultBranch = "master";
safe.directory = "*";
};
}];
};
programs.gpg = {
enable = true;
settings = {
ask-cert-level = true;
expert = true;
list-options = [ "show-sig-expire" "show-uid-validity" "show-unusable-subkeys" "show-unusable-uids"];
verify-options = [ "show-uid-validity" "show-unusable-uids" ];
with-fingerprint = [ "" "" ]; # Repeat with-fingerprint twice
with-keygrip = true;
};
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
services.gnome-keyring = {
enable = true;
components = [ "secrets" "ssh" ];
};
###
### Customization
###
gtk.enable = true;
gtk.font.name = "DejaVu Sans";
gtk.font.size = 8;
gtk.cursorTheme = {
package = pkgs.catppuccin-cursors.mochaMauve;
name = "catppuccin-mocha-mauve-cursors";
};
home.pointerCursor = {
package = pkgs.catppuccin-cursors.mochaMauve;
name = "catppuccin-mocha-mauve-cursors";
size = 32;
gtk.enable = true;
x11.enable = true;
};
###
### Extra Packages
###
home.packages = with pkgs; [
# Fonts
liberation_ttf
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
font-awesome
nerd-fonts._0xproto
nerd-fonts.fira-code
# Utils
libnotify
xdg-utils
wl-clipboard
# Shell
python3
# Applications
inputs.wezterm.packages.${pkgs.system}.default
];
}
|