summaryrefslogtreecommitdiff
path: root/basics/default.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-11-13 12:59:22 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-11-13 12:59:22 +0100
commit8609f3b8d01fd9064ed186e63b1853ebb37c368f (patch)
tree40a955770809c647aa3deb85aedccedef3456cec /basics/default.nix
parent5aa96131e529e3e06b49c9c5d6e10a429292ea39 (diff)
basics: profiles: restructure and add icons
Diffstat (limited to 'basics/default.nix')
-rw-r--r--basics/default.nix40
1 files changed, 23 insertions, 17 deletions
diff --git a/basics/default.nix b/basics/default.nix
index 186765f..b1dadf5 100644
--- a/basics/default.nix
+++ b/basics/default.nix
@@ -26,23 +26,29 @@ in {
postalCode = "75230 CEDEX 05";
country = "France";
};
- profiles = [
- {
- network = "GitLab";
- url = "https://git.eleves.ens.fr/qaristote";
- username = "qaristote";
- }
- {
- network = "GitLab";
- url = "https://gitlab.math.univ-paris-diderot.fr/aristote";
- username = "aristote";
- }
- {
- network = "GitHub";
- url = "https://github.com/qaristote";
- username = "qaristote";
- }
- ];
+ profiles = {
+ Git = {
+ icon = "git";
+ profiles = {
+ personal = {
+ icon = "github";
+ url = "https://github.com/qaristote";
+ };
+ ENS = {
+ icon = "gitlab";
+ url = "https://git.eleves.ens.fr/qaristote";
+ };
+ IRIF = {
+ icon = "gitlab";
+ url = "https://gitlab.math.univ-paris-diderot.fr/aristote";
+ };
+ };
+ };
+ LinkedIn = {
+ icon = "linkedin";
+ url = "https://fr.linkedin.com/in/quentin-aristote-83979b186";
+ };
+ };
keys = let
getKeyFiles = type: keys: {
"${type}" = builtins.foldl'