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,16 +1,6 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }:
|
||||||
programs.bash.shellAliases = { x = "hx"; };
|
let
|
||||||
programs.zsh.shellAliases = { x = "hx"; };
|
desktopItem = pkgs.makeDesktopItem {
|
||||||
home.sessionVariables = {
|
|
||||||
EDITOR = "hx";
|
|
||||||
VISUAL = "hx";
|
|
||||||
};
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
nodePackages.vscode-langservers-extracted
|
|
||||||
rnix-lsp
|
|
||||||
yaml-language-server
|
|
||||||
|
|
||||||
(pkgs.makeDesktopItem {
|
|
||||||
name = "Helix";
|
name = "Helix";
|
||||||
exec = "hx %F";
|
exec = "hx %F";
|
||||||
icon = "helix";
|
icon = "helix";
|
||||||
|
|
@ -35,7 +25,15 @@
|
||||||
"text/x-c"
|
"text/x-c"
|
||||||
"text/x-c++"
|
"text/x-c++"
|
||||||
];
|
];
|
||||||
})
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs.bash.shellAliases = { x = "hx"; };
|
||||||
|
programs.zsh.shellAliases = { x = "hx"; };
|
||||||
|
home.sessionVariables = { EDITOR = "hx"; VISUAL = "hx"; };
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
nil # Nix language server
|
||||||
|
desktopItem
|
||||||
];
|
];
|
||||||
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