alacritty: macos tweaks

This commit is contained in:
Zynh Ludwig 2024-07-16 09:15:30 -07:00
parent f47a53c6b2
commit 123b5740c2
2 changed files with 11 additions and 3 deletions

View file

@ -5,7 +5,8 @@ let
in in
{ {
options.snowhawk.alacritty = { options.snowhawk.alacritty = {
enable = lib.mkEnableOption "alacritty"; enable = lib.mkEnableOption "alacritty home-manager module";
macOs = lib.mkEnableOption "macos specific tweaks";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
@ -14,6 +15,8 @@ in
settings = { settings = {
window = { window = {
opacity = 0.98; opacity = 0.98;
decorations = lib.mkIf cfg.macOs "buttonless";
option_as_alt = lib.mkIf cfg.macOs "Both";
}; };
colors = { colors = {
primary.background = "#050505"; primary.background = "#050505";

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, config, ... }: { pkgs, inputs, lib, ... }:
{ {
imports = [ imports = [
@ -11,12 +11,17 @@
}; };
snowhawk = { snowhawk = {
lazygit.enable = true; lazygit.enable = true;
alacritty.enable = true;
}; };
snowhawk.ssh = { snowhawk.ssh = {
enable = true; enable = true;
homeNetwork = true; homeNetwork = true;
}; };
snowhawk.alacritty = {
enable = true;
macOs = true;
};
programs.alacritty.settings.font.size = lib.mkForce 16.0;
home.username = "zynh"; home.username = "zynh";
home.homeDirectory = "/Users/zynh/"; home.homeDirectory = "/Users/zynh/";