16 lines
351 B
Nix
16 lines
351 B
Nix
{ pkgs, ... }:
|
|
let
|
|
alacrittyconf = pkgs.writeText "alacritty.toml" ''
|
|
[window]
|
|
opacity = 0.85
|
|
'';
|
|
in
|
|
pkgs.symlinkJoin {
|
|
name = "alacritty-wrapped";
|
|
paths = [ pkgs.alacritty ];
|
|
buildInputs = [ pkgs.makeWrapper ];
|
|
postBuild = ''
|
|
wrapProgram $out/bin/alacritty --add-flags "--config-file ${alacrittyconf}"
|
|
'';
|
|
}
|