Skip to content

Commit

Permalink
fix: default to helix and setup theme
Browse files Browse the repository at this point in the history
  • Loading branch information
bddvlpr committed Nov 24, 2023
1 parent 04efc64 commit dabe49f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
22 changes: 21 additions & 1 deletion homes/common/cli/editors/helix/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
programs.helix = {
enable = true;

defaultEditor = true;

extraPackages = with pkgs; [
# LSP
netcoredbg
Expand All @@ -14,6 +20,7 @@
];

settings = {
theme = lib.mkForce "base16_transparent";
editor = {
line-number = "relative";
cursorline = true;
Expand All @@ -28,5 +35,18 @@
};
};
};

languages = {
language = [
{
name = "svelte";
auto-format = true;
}
{
name = "typescript";
auto-format = true;
}
];
};
};
}
2 changes: 0 additions & 2 deletions homes/common/cli/editors/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@
};

home = {
sessionVariables.EDITOR = "nvim";

persistence."/nix/persist/home/bddvlpr".directories = [".config/github-copilot"];
};
}
2 changes: 2 additions & 0 deletions homes/common/theme.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@
waybar.enable = false;
};
};

home.packages = [pkgs.noto-fonts-cjk-sans];
}

0 comments on commit dabe49f

Please sign in to comment.