refactoring home manager modules

This commit is contained in:
Chris Kruining 2026-03-30 09:09:01 +02:00
parent 20de142350
commit f59d282c12
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
44 changed files with 0 additions and 80 deletions

View file

@ -0,0 +1,45 @@
{
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.sneeuwvlok.terminal.alacritty;
in {
options.sneeuwvlok.terminal.alacritty = {
enable = mkEnableOption "enable alacritty";
};
config = mkIf cfg.enable {
programs.alacritty = {
enable = true;
settings = {
env = {
TERM = "xterm-256color";
WINIT_X11_SCALE_FACTOR = "1.0";
};
window.dynamic_title = true;
scrolling = {
history = 5000;
multiplier = 3;
};
selection = {
semantic_escape_chars = '',`|:"' ()[]{}<>'';
save_to_clipboard = false;
};
general.live_config_reload = true;
# terminal.shell = {
# program = "${getExe pkgs.zsh}";
# args = ["-l" "-c" "tmux new || tmux"];
# };
};
};
};
}