-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
79 lines (78 loc) · 1.78 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
{ pkgs, ... }:
let
envVars = {
EDITOR = "nvim";
VISUAL = "nvim";
};
in
{
programs = {
home-manager.enable = true;
nushell = {
enable = true;
# environmentVariables = envVars; Disabled util update fixes nushell varaible declaration
extraConfig = builtins.readFile ./config/nushell/config.nu;
};
neovim = {
enable = true;
};
helix = {
enable = true;
languages = {
language-server = {
typescript-language-server = {
command = "${pkgs.nodePackages.typescript-language-server}/bin/typescript-language-server";
args = [ "--stdio" ];
config = {
tsserver = {
path = "${pkgs.nodePackages.typescript}/lib/node_modules/typescript/lib";
};
};
};
nil = {
command = "${pkgs.nil}/bin/nil";
};
};
language = [
{
name = "cpp";
auto-format = true;
}
{
name = "nix";
auto-format = true;
formatter = {
command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
};
}
];
};
settings = {
theme = "dracula_at_night";
editor = {
true-color = true;
};
};
};
nnn.enable = true;
carapace.enable = true;
zoxide.enable = true;
ripgrep.enable = true;
fd.enable = true;
fzf.enable = true;
zellij.enable = true;
bat.enable = true;
starship.enable = true;
direnv = {
enable = true;
silent = true;
nix-direnv.enable = true;
};
git.enable = true;
};
home = {
packages = with pkgs; [ just ];
sessionVariables = envVars;
stateVersion = "24.05";
};
}