From 2675b6ae0d183ec077c6ed01be440a9f3ccf12ff Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 19 Aug 2023 07:05:46 +0000 Subject: [PATCH] please work --- hosts/sakowsl/configuration.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/sakowsl/configuration.nix b/hosts/sakowsl/configuration.nix index 35fa2ae9..9498b7e9 100644 --- a/hosts/sakowsl/configuration.nix +++ b/hosts/sakowsl/configuration.nix @@ -53,9 +53,12 @@ xdg.configFile.git = { source = ../../config/git; }; - services.gpg-agent.extraConfig = '' - pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe" - ''; + services.gpg-agent = { + enable = true; + extraConfig = '' + pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe" + ''; + }; }; # bare minimum