about summary refs log blame commit diff
path: root/users/Profpatsch/alacritty.nix
blob: 56229c94848b5e3d155a8818679a95c286756c6e (plain) (tree)




























                                                          
{ depot, pkgs, lib, ... }:

let
  bins = depot.nix.getBins pkgs.alacritty [ "alacritty" ];

  config = lib.pipe { } [
    (_: depot.users.Profpatsch.importDhall.importDhall {
      root = ./.;
      files = [
        "alacritty.dhall"
        "solarized.dhall"
      ];
      main = "alacritty.dhall";
      deps = [ ];
    })
    (lib.generators.toYAML { })
    (pkgs.writeText "alacritty.conf")
  ];


  alacritty = depot.nix.writeExecline "alacritty" { } [
    bins.alacritty
    "--config-file"
    config
    "$@"
  ];

in
alacritty