emacs-nix/flake.nix
2020-12-18 17:33:58 +13:00

24 lines
516 B
Nix

{
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;
};
}