mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: move last legacy_modules to modules
This commit is contained in:
parent
d463f4d1af
commit
d50bbb3d12
49 changed files with 580 additions and 459 deletions
38
modules/programs/zed.nix
Normal file
38
modules/programs/zed.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Enabled when: desktop & dev
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgsUnstable,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf (config.fireproof.desktop.enable && config.fireproof.dev.enable) {
|
||||
fireproof.home-manager.programs.zed-editor = {
|
||||
enable = true;
|
||||
package = pkgsUnstable.zed-editor;
|
||||
extensions = [
|
||||
"basedpyright"
|
||||
"biome"
|
||||
"css-modules-kit"
|
||||
"dockerfile"
|
||||
"env"
|
||||
"fish"
|
||||
"jetbrains-themes"
|
||||
"just-ls"
|
||||
"mcp-server-linear"
|
||||
"nix"
|
||||
];
|
||||
userSettings = {
|
||||
base_keymap = "JetBrains";
|
||||
theme = {
|
||||
mode = "dark";
|
||||
light = "JetBrains Light";
|
||||
dark = "JetBrains Dark";
|
||||
};
|
||||
ui_font_family = "Hack Nerd Font";
|
||||
buffer_font_family = "Hack Nerd Font";
|
||||
buffer_font_size = 13;
|
||||
buffer_line_height = "standard";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue