From 2b3be1eba834da1058c3ee5460408ba73a5d534e Mon Sep 17 00:00:00 2001 From: Chan Wen Xu Date: Mon, 20 Dec 2021 15:34:30 +0800 Subject: [PATCH] feat: Add Git configuration --- config/common.nix | 2 ++ home/home.nix | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/config/common.nix b/config/common.nix index 21572b8..6ae8736 100644 --- a/config/common.nix +++ b/config/common.nix @@ -50,6 +50,8 @@ systemd.tmpfiles.rules = [ "L /home/chanbakjsd/nixos - - - - /persist/nix-config" "L /home/chanbakjsd/Projects - - - - /persist/Projects" + "L /home/chanbakjsd/.ssh - - - - /persist/secrets/.ssh" + "L /home/chanbakjsd/.gnupg - - - - /persist/secrets/.gnupg" ]; services.xserver = { diff --git a/home/home.nix b/home/home.nix index 9bb8127..c6dabcf 100644 --- a/home/home.nix +++ b/home/home.nix @@ -18,6 +18,15 @@ }; }; programs.feh.enable = true; + programs.git = { + enable = true; + signing = { + key = "7E9A74B1B07A7558"; + signByDefault = true; + }; + userEmail = "lutherchanpublic@gmail.com"; + userName = "Chan Wen Xu"; + }; programs.kitty = { enable = true; font = { @@ -59,6 +68,7 @@ }; }; services.flameshot.enable = true; + services.gpg-agent.enable = true; services.polybar = { enable = true; script = "polybar bar &";