From d64ca1db3b88ae5f7f2472caca7f4541dafd420d Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Sun, 21 Jul 2024 14:37:26 +0200 Subject: [PATCH] git: added gnupg --- hosts/vali/temperance/configuration.nix | 2 +- modules/other/git.nix | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/vali/temperance/configuration.nix b/hosts/vali/temperance/configuration.nix index f36dd99..7fb6eaa 100644 --- a/hosts/vali/temperance/configuration.nix +++ b/hosts/vali/temperance/configuration.nix @@ -34,7 +34,7 @@ system = { hostname = "temperance"; username = "vali"; - gitPath = "/home/vali/repos/nichts"; + gitPath = "/home/vali/projects/nichts"; }; home-manager = { enable = true; diff --git a/modules/other/git.nix b/modules/other/git.nix index fba61d4..4778c33 100644 --- a/modules/other/git.nix +++ b/modules/other/git.nix @@ -1,7 +1,12 @@ -{config, ...}: let +{ + pkgs, + config, + ... +}: let inherit (config.modules.other.system) username; in { home-manager.users.${username} = { + home.packages = with pkgs; [gnupg]; programs.git = { signing = { key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPiRe9OH/VtWFWyy5QbAVcN7CLxr4zUtRCwmxD6aeN6";