summaryrefslogtreecommitdiff
path: root/default.nix
blob: 325cc5866467648dfe8666f18018437c9b1ab7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ markup, pkgs, ... }:

let
  files = ./files;
  commonArgs = markup // {
    inherit files make pkgs;
    inherit (pkgs) lib;
  };
  make = path: overrides:
    let f = import path;
    in f ((builtins.intersectAttrs (builtins.functionArgs f) commonArgs)
      // overrides);
in {
  inherit files;
  basics = make ./basics { };
  publications = make ./publications { };
  experience = make ./experience { };
  languages = make ./languages { };
  education = make ./education { };
  software = make ./software { };
}