diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-11 17:27:34 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-11 17:27:34 +0100 |
| commit | 102ed4e7d78dd17ce8ce9e0b928f5123e94d0cfa (patch) | |
| tree | 357bafdd2f40ca3504748998e8c9d704198a485d /default.nix | |
add initial data
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..f2d9b6c --- /dev/null +++ b/default.nix @@ -0,0 +1,17 @@ +{ 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 { }; +} |
