This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/desktop/alacritty/default.nix
Evie Litherland-Smith 6bc0cbdc4f Add niri config, restructure files
Move sway to desktop/sway and move other packages under programs/sway
up a level to programs/desktop, add niri config to desktop/niri and
refactor common desktop imports into desktop/default.nix that also
imports (for now at least) sway and niri modules

Move wallpapers into programs/desktop since that's where they're
needed anyway

Add helper script to call swaybg with arguments
2024-05-27 20:07:18 +01:00

30 lines
688 B
Nix

{fonts, ...}: {
programs.alacritty = let
catppuccin-mocha = builtins.fromTOML (builtins.readFile ./catppuccin-mocha.toml);
in {
enable = true;
settings =
{
font = {
size = fonts.sizes.applications;
normal = {
family = fonts.monospace.name;
style = "Regular";
};
};
window = {
dynamic_title = true;
padding = {
x = 10;
y = 10;
};
decorations = "none";
};
live_config_reload = false;
selection.save_to_clipboard = true;
mouse.hide_when_typing = false;
}
// catppuccin-mocha;
};
}