Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions nix-darwin/home-modules/programs/alacritty.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
pkgs,
lib,
config,
...
}:
{
options = {
alacritty.enable = lib.mkOption {
type = lib.types.bool;
description = "Enables alacritty shell";
default = false;
};
};

config = lib.mkIf config.alacritty.enable {
# C-r history
# C-l clear
home = {
sessionVariables = {
TERMINAL = "alacritty";
};
};
programs = {
alacritty = {
enable = true;
catppuccin.enable = true;
shellIntegration.enableFishIntegration = true;
shellIntegration.enableZshIntegration = true;
font = {
size = 16;
name = "JetBrainsMono";
package = pkgs.nerd-fonts.jetbrains-mono;
};
};
};
};
}
1 change: 1 addition & 0 deletions nix-darwin/home-modules/programs/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib, ... }:
{
imports = [
./alacritty.nix
./bat.nix
./btop.nix
./cloud.nix
Expand Down
6 changes: 3 additions & 3 deletions nix-darwin/users/henri.vandersleyen/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
casks = [
"rectangle"
"iterm2"
"nikitabobko/tap/aerospace"
# "nikitabobko/tap/aerospace" # not vetted on work laptop
];
brews = [
"koekeishiya/formulae/yabai"
"koekeishiya/formulae/skhd"
# "koekeishiya/formulae/yabai"
# "koekeishiya/formulae/skhd"
];
};
}
2 changes: 1 addition & 1 deletion nix-darwin/users/henri.vandersleyen/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
];
# wm
wm.aerospace = {
enable = true;
enable = false;
configPath = Users/${username}/Documents/dotfiles/.config/aerospace;
};
# languages
Expand Down
Loading