2022-08-29 00:30:29 +02:00
|
|
|
{pkgs, ...}: {
|
2022-08-29 22:13:34 +02:00
|
|
|
home.username = "vis";
|
|
|
|
home.homeDirectory = "/home/vis";
|
|
|
|
home.stateVersion = "22.11";
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.home-manager.path = "$HOME/utils/dotfiles";
|
2022-09-01 22:23:39 +02:00
|
|
|
|
|
|
|
programs.helix.enable = true;
|
|
|
|
# https://docs.helix-editor.com/from-vim.html
|
|
|
|
# https://github.com/helix-editor/helix/wiki/Migrating-from-Vim
|
|
|
|
programs.helix.settings = {
|
|
|
|
theme = "dracula";
|
|
|
|
editor = {
|
|
|
|
line-number = "relative";
|
|
|
|
cursor-shape = {
|
|
|
|
insert = "bar";
|
|
|
|
normal = "block";
|
|
|
|
};
|
|
|
|
whitespace = {
|
|
|
|
render = "all";
|
|
|
|
# or control each character
|
|
|
|
#render = {
|
|
|
|
# space = "all";
|
|
|
|
# tab = "all";
|
|
|
|
# newline = "none";
|
|
|
|
#};
|
|
|
|
|
|
|
|
characters = {
|
|
|
|
space = "·";
|
|
|
|
nbsp = "⍽";
|
|
|
|
tab = "→";
|
|
|
|
newline = "¬";
|
|
|
|
# Tabs will look like "→···" (depending on tab width)
|
|
|
|
tabpad = "·";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lsp.display-messages = true;
|
|
|
|
};
|
|
|
|
};
|
2022-09-02 18:01:13 +02:00
|
|
|
|
|
|
|
home.file = {
|
|
|
|
".local/bin/battery.sh" = {
|
|
|
|
source = bin/battery.sh;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
".local/bin/localbsync" = {
|
|
|
|
source = bin/localbsync;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
".local/bin/mgp" = {
|
|
|
|
source = bin/mgp;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
".local/bin/parec-wr" = {
|
|
|
|
source = bin/parec-wr;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
".local/bin/pscbg" = {
|
|
|
|
source = bin/pscbg;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
".local/bin/qst_up" = {
|
|
|
|
source = bin/qst_up;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
".local/bin/v4l2pls" = {
|
|
|
|
source = bin/v4l2pls;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
".local/bin/winprint.sh" = {
|
|
|
|
source = bin/winprint.sh;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
};
|
2022-08-29 00:30:29 +02:00
|
|
|
}
|