mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
backport alacritty updates
This commit is contained in:
parent
db667ab72a
commit
548b7d4c7b
1 changed files with 11 additions and 1 deletions
|
@ -8,6 +8,16 @@
|
|||
let
|
||||
cfg = config.sconfig.alacritty;
|
||||
|
||||
backported = pkgs.callPackage
|
||||
(pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/554d2d8aa25b6e583575459c297ec23750adb6cb/pkgs/applications/terminal-emulators/alacritty/default.nix";
|
||||
sha256 = "4e8f317595c6b4f67eda10a1e16bb98b6d5354b475a0a0b9dee2982fab1cc718";
|
||||
})
|
||||
{
|
||||
inherit (pkgs.xorg) libXcursor libXxf86vm libXi;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL;
|
||||
};
|
||||
|
||||
configText = builtins.toJSON
|
||||
{
|
||||
env.TERM = "xterm-256color";
|
||||
|
@ -50,7 +60,7 @@ in
|
|||
environment.etc."xdg/alacritty.yml".text = configText;
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.alacritty
|
||||
backported
|
||||
(pkgs.writeTextFile {
|
||||
name = "alacritty.yml";
|
||||
destination = "/etc/xdg/alacritty.yml";
|
||||
|
|
Loading…
Reference in a new issue