-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
69 lines (60 loc) · 1.24 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
{
pkgs,
lib,
...
}: {
disabledModules = ["targets/darwin/linkapps.nix"];
home = {
stateVersion = "24.11";
packages = with pkgs; [
(nerdfonts.override {fonts = ["Iosevka"];})
tree
];
sessionVariables = {
CLICOLOR = 1;
SHELL_SESSIONS_DISABLE = 1;
};
shellAliases = {
l = "ls -At";
ll = "ls -Alth";
c = "echo -ne '\\033c\\033[3J'";
t = "tree -a";
};
};
fonts.fontconfig.enable = true;
targets.darwin.defaults = {
NSGlobalDomain = {
AppleShowAllFiles = true;
ApplePressAndHoldEnabled = false;
InitialKeyRepeat = 10;
KeyRepeat = 1;
NSDocumentSaveNewDocumentsToCloud = false;
};
finder._FXShowPosixPathInTitle = true;
};
programs = {
home-manager.enable = true;
zsh = {
enable = true;
dotDir = ".config/zsh";
};
zoxide.enable = true;
fzf.enable = true;
git.enable = true;
ripgrep.enable = true;
fd.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
};
neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withPython3 = false;
withRuby = false;
};
};
}