Update helix configuration
This commit is contained in:
parent
7e8f96585c
commit
2d5a12eba0
6 changed files with 59 additions and 36 deletions
|
|
@ -12,6 +12,15 @@
|
||||||
imports = [
|
imports = [
|
||||||
../hm_modules/__basic.nix
|
../hm_modules/__basic.nix
|
||||||
|
|
||||||
|
# ../hm_modules/cpp.nix
|
||||||
|
# ../hm_modules/data_analysis.nix
|
||||||
|
# ../hm_modules/go.nix
|
||||||
|
# ../hm_modules/java.nix
|
||||||
|
# ../hm_modules/javascript.nix
|
||||||
|
# ../hm_modules/latex.nix
|
||||||
|
# ../hm_modules/python.nix
|
||||||
|
# ../hm_modules/rust.nix
|
||||||
|
|
||||||
# ../hm_modules/fonts.nix
|
# ../hm_modules/fonts.nix
|
||||||
../hm_modules/helix.nix
|
../hm_modules/helix.nix
|
||||||
# ../hm_modules/kitty.nix
|
# ../hm_modules/kitty.nix
|
||||||
|
|
|
||||||
6
hm_modules/data_analysis.nix
Normal file
6
hm_modules/data_analysis.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
nodePackages.vscode-langservers-extracted
|
||||||
|
yaml-language-server
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -1,41 +1,39 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
desktopItem = pkgs.makeDesktopItem {
|
||||||
|
name = "Helix";
|
||||||
|
exec = "hx %F";
|
||||||
|
icon = "helix";
|
||||||
|
desktopName = "Helix";
|
||||||
|
comment = "Helix text editor";
|
||||||
|
terminal = true;
|
||||||
|
categories = [ "Development" ];
|
||||||
|
mimeTypes = [
|
||||||
|
"text/english"
|
||||||
|
"text/plain"
|
||||||
|
"text/x-makefile"
|
||||||
|
"text/x-c++hdr"
|
||||||
|
"text/x-c++src"
|
||||||
|
"text/x-chdr"
|
||||||
|
"text/x-csrc"
|
||||||
|
"text/x-java"
|
||||||
|
"text/x-moc"
|
||||||
|
"text/x-pascal"
|
||||||
|
"text/x-tcl"
|
||||||
|
"text/x-tex"
|
||||||
|
"application/x-shellscript"
|
||||||
|
"text/x-c"
|
||||||
|
"text/x-c++"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
programs.bash.shellAliases = { x = "hx"; };
|
programs.bash.shellAliases = { x = "hx"; };
|
||||||
programs.zsh.shellAliases = { x = "hx"; };
|
programs.zsh.shellAliases = { x = "hx"; };
|
||||||
home.sessionVariables = {
|
home.sessionVariables = { EDITOR = "hx"; VISUAL = "hx"; };
|
||||||
EDITOR = "hx";
|
|
||||||
VISUAL = "hx";
|
|
||||||
};
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nodePackages.vscode-langservers-extracted
|
nil # Nix language server
|
||||||
rnix-lsp
|
desktopItem
|
||||||
yaml-language-server
|
|
||||||
|
|
||||||
(pkgs.makeDesktopItem {
|
|
||||||
name = "Helix";
|
|
||||||
exec = "hx %F";
|
|
||||||
icon = "helix";
|
|
||||||
desktopName = "Helix";
|
|
||||||
comment = "Helix text editor";
|
|
||||||
terminal = true;
|
|
||||||
categories = [ "Development" ];
|
|
||||||
mimeTypes = [
|
|
||||||
"text/english"
|
|
||||||
"text/plain"
|
|
||||||
"text/x-makefile"
|
|
||||||
"text/x-c++hdr"
|
|
||||||
"text/x-c++src"
|
|
||||||
"text/x-chdr"
|
|
||||||
"text/x-csrc"
|
|
||||||
"text/x-java"
|
|
||||||
"text/x-moc"
|
|
||||||
"text/x-pascal"
|
|
||||||
"text/x-tcl"
|
|
||||||
"text/x-tex"
|
|
||||||
"application/x-shellscript"
|
|
||||||
"text/x-c"
|
|
||||||
"text/x-c++"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
10
loki/hm.nix
10
loki/hm.nix
|
|
@ -38,7 +38,15 @@
|
||||||
imports = [
|
imports = [
|
||||||
../hm_modules/__basic.nix
|
../hm_modules/__basic.nix
|
||||||
|
|
||||||
../hm_modules/configurations.nix
|
# ../hm_modules/cpp.nix
|
||||||
|
../hm_modules/data_analysis.nix
|
||||||
|
# ../hm_modules/go.nix
|
||||||
|
# ../hm_modules/java.nix
|
||||||
|
# ../hm_modules/javascript.nix
|
||||||
|
# ../hm_modules/latex.nix
|
||||||
|
# ../hm_modules/python.nix
|
||||||
|
# ../hm_modules/rust.nix
|
||||||
|
|
||||||
../hm_modules/fonts.nix
|
../hm_modules/fonts.nix
|
||||||
../hm_modules/bash.nix
|
../hm_modules/bash.nix
|
||||||
../hm_modules/bat.nix
|
../hm_modules/bat.nix
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,7 @@
|
||||||
../hm_modules/__basic.nix
|
../hm_modules/__basic.nix
|
||||||
|
|
||||||
../hm_modules/cpp.nix
|
../hm_modules/cpp.nix
|
||||||
|
../hm_modules/data_analysis.nix
|
||||||
# ../hm_modules/go.nix
|
# ../hm_modules/go.nix
|
||||||
# ../hm_modules/java.nix
|
# ../hm_modules/java.nix
|
||||||
../hm_modules/javascript.nix
|
../hm_modules/javascript.nix
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@
|
||||||
../hm_modules/__basic.nix
|
../hm_modules/__basic.nix
|
||||||
|
|
||||||
../hm_modules/cpp.nix
|
../hm_modules/cpp.nix
|
||||||
|
../hm_modules/data_analysis.nix
|
||||||
# ../hm_modules/go.nix
|
# ../hm_modules/go.nix
|
||||||
# ../hm_modules/java.nix
|
# ../hm_modules/java.nix
|
||||||
../hm_modules/javascript.nix
|
../hm_modules/javascript.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue