Skip to content

Commit

Permalink
testing alacritty now, ghostty too slow to open (maybe because of thi…
Browse files Browse the repository at this point in the history
  • Loading branch information
DisguisedPigeon committed Jan 12, 2025
1 parent 24619f2 commit 1798015
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 11 deletions.
7 changes: 2 additions & 5 deletions home/DPigeon-MacOS/dpigeon/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

zsh-customization.hostname = "DPigeon-MacOS";
programs.chromium.enable = true;
ghostty-customization.enable = true;
alacritty-customization.enable = true;

home = {
username = "dpigeon";
Expand Down Expand Up @@ -43,10 +43,7 @@
package = inputs.zen-browser.packages."${system}".beta;
command = "zen";
};
terminal = {
package = pkgs.ghostty;
command = "ghostty";
};
terminal.command = "alacritty";
};

# User-specific config
Expand Down
1 change: 1 addition & 0 deletions home/DPigeon-MacOS/test/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
];

zsh-customization.hostname = "DPigeon-MacOS";
kitty-customization.enable = true;

home = {
username = "test";
Expand Down
16 changes: 16 additions & 0 deletions home/common/alacritty.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ config, lib, ... }:
{
options = {
alacritty-customization.enable = lib.mkEnableOption "ghostty customization";
};
config =
let
opts = config.alacritty-customization;
in
lib.mkIf opts.enable {
programs.alacritty = {
enable = true;
settings.window.decorations = "None";
};
};
}
4 changes: 3 additions & 1 deletion home/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
./starship.nix
./ghostty.nix
./yazi.nix
./alacritty.nix
];
default_home.enable = lib.mkDefault true;
zsh-customization.enable = lib.mkDefault true;
ghostty-customization.enable = lib.mkDefault false;
alacritty-customization.enable = lib.mkDefault false;
neovim-customization.enable = lib.mkDefault true;
kitty-customization.enable = lib.mkDefault true;
kitty-customization.enable = lib.mkDefault false;
plasma-customization.enable = lib.mkDefault true;
hyprland-customization.enable = lib.mkDefault true;
starship-customization.enable = lib.mkDefault true;
Expand Down
1 change: 0 additions & 1 deletion home/common/ghostty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
enable = true;
settings = {
window-decoration = false;
background-opacity = 1;
};
};
};
Expand Down
11 changes: 8 additions & 3 deletions home/common/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@
# };
# };
image = lib.mkDefault ./configs/wallpaper.jpeg;
cursor.package = lib.mkDefault pkgs.banana-cursor;
cursor.name = lib.mkDefault "Banana";
cursor.size = lib.mkDefault 22;
cursor = {
package = lib.mkDefault pkgs.banana-cursor;
name = lib.mkDefault "Banana";
size = lib.mkDefault 22;
};
fonts = {
monospace = {
package = lib.mkDefault pkgs.maple-mono-NF;
Expand All @@ -75,6 +77,9 @@
};
};
polarity = lib.mkDefault "dark";
opacity = {
terminal = 0.8;
};
};

gtk.enable = lib.mkDefault true;
Expand Down
1 change: 0 additions & 1 deletion home/common/kitty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
enable = true;
settings = {
enable_audio_bell = false;
background_opacity = lib.mkForce 0.8;
};
};
};
Expand Down

0 comments on commit 1798015

Please sign in to comment.