this is a stupid way to do this shit

This commit is contained in:
Osman Faruk Bayram 2025-05-29 10:54:05 +03:00
parent 68b6fec533
commit 8cf567fdc4
3 changed files with 30 additions and 19 deletions

View file

@ -1,25 +1,29 @@
{ {
pkgs, pkgs,
lib, lib,
config,
... ...
}: { }: {
programs.alacritty = { options.enableAlacritty = lib.mkEnableOption "Alacritty terminal emulator";
enable = true; config = {
settings = { programs.alacritty = {
font = { enable = config.enableAlacritty;
size = 17.0; settings = {
normal.family = "Cascadia Code"; font = {
size = 17.0;
normal.family = "Cascadia Code";
};
terminal.shell = {
args = ["new-session" "-A" "-s" "general"];
program = lib.getExe pkgs.tmux;
};
window = {
decorations = "None";
opacity = 1;
startup_mode = "Maximized";
};
env.TERM = "xterm-256color";
}; };
terminal.shell = {
args = ["new-session" "-A" "-s" "general"];
program = lib.getExe pkgs.tmux;
};
window = {
decorations = "None";
opacity = 1;
startup_mode = "Maximized";
};
env.TERM = "xterm-256color";
}; };
}; };
} }

View file

@ -1,11 +1,16 @@
{ {
pkgs, pkgs,
lib, lib,
config,
... ...
}: { }: {
programs.ghostty = { options.enableGhostty = lib.mkEnableOption "Ghostty terminal emulator";
enable = true; config = {
settings = { programs.ghostty = {
enable = config.enableGhostty;
settings = {
};
}; };
}; };
} }

View file

@ -30,4 +30,6 @@
enableGTK = config.myModules.enableKDE; enableGTK = config.myModules.enableKDE;
enableFirefox = config.myModules.enableKDE; enableFirefox = config.myModules.enableKDE;
enableAlacritty = config.myModules.enableKDE;
enableGhostty = config.myModules.enableKDE;
} }