alacritty: macos tweaks
This commit is contained in:
parent
f47a53c6b2
commit
123b5740c2
2 changed files with 11 additions and 3 deletions
|
@ -5,7 +5,8 @@ let
|
|||
in
|
||||
{
|
||||
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 {
|
||||
|
@ -14,6 +15,8 @@ in
|
|||
settings = {
|
||||
window = {
|
||||
opacity = 0.98;
|
||||
decorations = lib.mkIf cfg.macOs "buttonless";
|
||||
option_as_alt = lib.mkIf cfg.macOs "Both";
|
||||
};
|
||||
colors = {
|
||||
primary.background = "#050505";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, inputs, config, ... }:
|
||||
{ pkgs, inputs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -11,12 +11,17 @@
|
|||
};
|
||||
snowhawk = {
|
||||
lazygit.enable = true;
|
||||
alacritty.enable = true;
|
||||
};
|
||||
snowhawk.ssh = {
|
||||
enable = true;
|
||||
homeNetwork = true;
|
||||
};
|
||||
snowhawk.alacritty = {
|
||||
enable = true;
|
||||
macOs = true;
|
||||
};
|
||||
|
||||
programs.alacritty.settings.font.size = lib.mkForce 16.0;
|
||||
|
||||
home.username = "zynh";
|
||||
home.homeDirectory = "/Users/zynh/";
|
||||
|
|
Loading…
Reference in a new issue