🧑💻 Zed configs, Nextcloud as service, moved dev stuff
This commit is contained in:
32
home-manager/development/zed.nix
Normal file
32
home-manager/development/zed.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
"html"
|
||||
"catppuccin"
|
||||
"toml"
|
||||
"nix"
|
||||
"git_firefly"
|
||||
];
|
||||
userSettings =
|
||||
let
|
||||
theme = import ../../theme.nix;
|
||||
font = "${theme.nerdFont} Nerd Font";
|
||||
fontSize = 14;
|
||||
in
|
||||
{
|
||||
autosave = "on_focus_change";
|
||||
base_keymap = "JetBrains";
|
||||
ui_font_family = font;
|
||||
buffer_font_family = font;
|
||||
ui_font_size = fontSize;
|
||||
buffer_font_size = fontSize;
|
||||
theme = {
|
||||
mode = "system";
|
||||
light = "Catppuccin Frappé";
|
||||
dark = "Catppuccin Mocha";
|
||||
};
|
||||
lsp.nil.initialization_options.formatting.command = [ "nixfmt" ];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user