From b9b734c425dbd86fc95f0a7d819fc74d534bf6a9 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Mon, 3 May 2021 09:27:11 +0300 Subject: [PATCH] refactor: seperate personal data --- personal.nix | 7 +++++++ users/patriot/default.nix | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 personal.nix diff --git a/personal.nix b/personal.nix new file mode 100644 index 0000000..33cc40c --- /dev/null +++ b/personal.nix @@ -0,0 +1,7 @@ +{ + name = "Yusuf Bera Ertan"; + emails = { + primary = "y.bera003.06@protonmail.com"; + short = "y.bera003.06@pm.me"; + }; +} diff --git a/users/patriot/default.nix b/users/patriot/default.nix index fbf5d71..7a4bad7 100644 --- a/users/patriot/default.nix +++ b/users/patriot/default.nix @@ -86,8 +86,9 @@ in home-manager.users.patriot = { config, pkgs, suites, ... }: let - name = "Yusuf Bera Ertan"; - email = "y.bera003.06@protonmail.com"; + personal = import ../../personal.nix; + name = personal.name; + email = personal.emails.primary; font = "Iosevka Term"; fontSize = 10;