tangled
alpha
login
or
join now
folospior.dev
/
dotfiles
1
fork
atom
My dotfiles (written in Nix, btw!) ❄
1
fork
atom
overview
issues
pulls
pipelines
zed
folospior.dev
1 year ago
00c85849
7a45fa0e
+44
2 changed files
expand all
collapse all
unified
split
user
home.nix
zed.nix
+1
user/home.nix
···
18
18
./spotify.nix
19
19
./themes.nix
20
20
./zsh.nix
21
21
+
./zed.nix
21
22
#./nixvim.nix
22
23
];
23
24
# Home Manager needs a bit of information about you and the paths it should
+43
user/zed.nix
···
1
1
+
{
2
2
+
self,
3
3
+
systemSettings,
4
4
+
userSettings,
5
5
+
...
6
6
+
}: {
7
7
+
programs.zed-editor = {
8
8
+
enable = true;
9
9
+
extensions = [
10
10
+
"html"
11
11
+
"nord"
12
12
+
"nix"
13
13
+
"gleam"
14
14
+
"templ"
15
15
+
"discord-presence"
16
16
+
];
17
17
+
userSettings = {
18
18
+
vim_mode = true;
19
19
+
autosave.afterDelay.milliseconds = 1000;
20
20
+
buffer_font_family = "JetBrains Mono";
21
21
+
buffer_font_size = 16;
22
22
+
ui_font_family = "Ubuntu";
23
23
+
24
24
+
lsp = {
25
25
+
nixd.settings = let
26
26
+
flake = "(builtins.getFlake \"${self}\");";
27
27
+
in {
28
28
+
nixos.expr = "${flake}.nixosConfigurations.\"${systemSettings.hostname}\".options";
29
29
+
home_manager.expr = "${flake}.homeConfigurations.\"${userSettings.username}\".options";
30
30
+
};
31
31
+
};
32
32
+
33
33
+
languages = {
34
34
+
Nix.formatter.external.command = "alejandra";
35
35
+
};
36
36
+
37
37
+
theme = {
38
38
+
mode = "dark";
39
39
+
dark = "Nord";
40
40
+
};
41
41
+
};
42
42
+
};
43
43
+
}