emacs-nix/flake.nix

24 lines
516 B
Nix
Raw Normal View History

2020-12-17 23:33:58 -05:00
{
description = "tA's emacs setup";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-20.09";
};
flake-utils = {
url = "github:numtide/flake-utils";
};
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
overlays = [ (import ./overlay.nix) ];
inherit system;
};
in {
defaultPackage = pkgs.ta.emacs;
}) // {
overlay = import ./overlay.nix;
};
}