Skip to content

Commit 6cf64cb

Browse files
committed
zed sandbox wip
1 parent 409c760 commit 6cf64cb

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

nix/configuration.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ in {
804804
(import ./vidmaker.nix)
805805
(import ./clipmaker.nix)
806806
neovim
807+
(import ./zed.nix {inherit pkgs;})
807808
];
808809
programs.git = {
809810
enable = true;

nix/zed-config.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
ui_font_size = 18;
1717
buffer_font_size = 18;
1818
soft_wrap = "editor_width";
19-
# buffer_font_family = "JetBrains Mono";
20-
# base_keymap = "JetBrains";
2119
autosave = "off";
20+
theme = "One Dark";
2221

2322
lsp = {
2423
nil = {

nix/zed.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@
2727
bind.rw = [
2828
[
2929
(sloth.mkdir (sloth.concat' sloth.homeDir "/zed"))
30-
sloth.homeDir
30+
(sloth.concat' sloth.homeDir "/zed")
3131
]
3232
];
3333

3434
bind.ro = [
35+
"/bin/sh"
3536
"/etc/group"
3637
"/etc/passwd"
3738
"/run/current-system/sw/bin/bash"

0 commit comments

Comments
 (0)