alacritty: enable sixel support
This commit is contained in:
parent
314c386085
commit
bb798fbfdf
17
flake.lock
17
flake.lock
|
@ -1,5 +1,21 @@
|
|||
{
|
||||
"nodes": {
|
||||
"alacritty-sixel": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1651472856,
|
||||
"narHash": "sha256-8SQgnB6q7sXeXcIzum/NAUj3mju7IERreXHMvt2cQEc=",
|
||||
"owner": "microo8",
|
||||
"repo": "alacritty-sixel",
|
||||
"rev": "513e6a90c2fd0a019b214dab96c4e211d151a2f9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "microo8",
|
||||
"repo": "alacritty-sixel",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"dhist": {
|
||||
"inputs": {
|
||||
"fenix": "fenix",
|
||||
|
@ -140,6 +156,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"alacritty-sixel": "alacritty-sixel",
|
||||
"dhist": "dhist",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
|
|
14
flake.nix
14
flake.nix
|
@ -7,10 +7,13 @@
|
|||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nur.url = "github:nix-community/NUR";
|
||||
|
||||
alacritty-sixel.url = "github:microo8/alacritty-sixel";
|
||||
alacritty-sixel.flake = false;
|
||||
|
||||
# my stuff
|
||||
dhist.url = "github:lelgenio/dhist";
|
||||
};
|
||||
outputs = { nixpkgs, nixpkgs-unstable, home-manager, nur, dhist, ... }:
|
||||
outputs = { nixpkgs, nixpkgs-unstable, home-manager, alacritty-sixel, nur, dhist, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
|
@ -33,12 +36,19 @@
|
|||
nixpkgs.overlays = [
|
||||
overlay-unstable
|
||||
nur.overlay
|
||||
(_: _: {
|
||||
(_: old-pkgs: {
|
||||
dhist = dhist.packages.${system}.dhist;
|
||||
bmenu = import ./bmenu.nix { inherit config pkgs lib; };
|
||||
_diffr = import ./diffr.nix { inherit config pkgs lib; };
|
||||
kak-pager = import ./kak-pager.nix { inherit config pkgs lib; };
|
||||
terminal = import ./terminal.nix { inherit config pkgs lib; };
|
||||
alacritty = (old-pkgs.alacritty.overrideAttrs (old-alacritty: rec {
|
||||
src = alacritty-sixel;
|
||||
cargoDeps = old-alacritty.cargoDeps.overrideAttrs (old-pkgs.lib.const {
|
||||
inherit src;
|
||||
outputHash = "sha256-aNatd4LC4lv0bDpVfUONdtEn9OPahVBZ9ch14pWWCnM=";
|
||||
});
|
||||
}));
|
||||
})
|
||||
];
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue