summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/languages/default.nix14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/languages/default.nix b/src/languages/default.nix
index 16d2f26..067ba83 100644
--- a/src/languages/default.nix
+++ b/src/languages/default.nix
@@ -5,13 +5,6 @@
...
}:
let
- languages = data.languages ++ [
- {
- name = "German";
- proficiency = "basic";
- icon.shortcode = "flag-germany";
- }
- ];
sortByProficiency = lib.sort (
lang1: lang2:
let
@@ -27,10 +20,13 @@ in
extraHeader = ''
\usepackage{emoji}
\setemojifont{NotoColorEmoji.ttf}[Path=./fonts/]
+ \usepackage{multicol}
'';
content =
with latex;
- for (sortByProficiency languages) (
- lang: with lang; moderncv.cvline "${name} \\emoji{${icon.shortcode}}" proficiency
+ environmentWithOpts "multicols" [ "2" ] (
+ for (sortByProficiency data.languages) (
+ lang: with lang; moderncv.cvline "${name} \\emoji{${icon.shortcode}}" proficiency
+ )
);
}