this is a stupid way to do this shit
This commit is contained in:
parent
68b6fec533
commit
8cf567fdc4
3 changed files with 30 additions and 19 deletions
|
|
@ -1,25 +1,29 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font = {
|
||||
size = 17.0;
|
||||
normal.family = "Cascadia Code";
|
||||
options.enableAlacritty = lib.mkEnableOption "Alacritty terminal emulator";
|
||||
config = {
|
||||
programs.alacritty = {
|
||||
enable = config.enableAlacritty;
|
||||
settings = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,16 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
options.enableGhostty = lib.mkEnableOption "Ghostty terminal emulator";
|
||||
config = {
|
||||
programs.ghostty = {
|
||||
enable = config.enableGhostty;
|
||||
settings = {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,4 +30,6 @@
|
|||
|
||||
enableGTK = config.myModules.enableKDE;
|
||||
enableFirefox = config.myModules.enableKDE;
|
||||
enableAlacritty = config.myModules.enableKDE;
|
||||
enableGhostty = config.myModules.enableKDE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue