restructure home as submodule of each system

This commit is contained in:
twoneis 2024-02-12 16:58:42 +01:00
parent ed8de34c0f
commit 88ad3517bf
26 changed files with 6 additions and 6 deletions

View file

@ -0,0 +1,9 @@
{ pkgs, ... }: {
programs.helix = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [ nil marksman ];
settings = import ./helix-config.nix;
languages = import ./helix-languages.nix;
};
}

View file

@ -0,0 +1,29 @@
{
theme = "rose_pine";
editor = {
line-number = "relative";
cursorline = true;
auto-format = true;
soft-wrap.enable = true;
whitespace.render = "all";
cursor-shape = {
insert = "bar";
normal = "block";
select = "underline";
};
};
keys.normal = {
h = "move_char_left";
t = "move_line_up";
n = "move_line_down";
s = "move_char_right";
C-n = "search_next";
C-t = "search_prev";
};
}

View file

@ -0,0 +1,17 @@
{
language-server = {
asm-lsp = {
command = "asm-lsp";
};
};
language = [{
name = "gas";
scope = "source.gas";
auto-format = false;
language-servers = [ "asm-lsp" ];
indent = { tab-width = 8; unit = " "; };
roots = [];
file-types = ["S"];
}];
}