From 8768abb51f0980f9988556464c113b9a9569203d Mon Sep 17 00:00:00 2001 From: Asdam9 Date: Thu, 6 Aug 2026 11:01:00 +0200 Subject: [PATCH] implemented #10 --- modules/features/git.nix | 8 -------- modules/features/gpg.nix | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 modules/features/gpg.nix diff --git a/modules/features/git.nix b/modules/features/git.nix index e8221ac..ceb7a6d 100644 --- a/modules/features/git.nix +++ b/modules/features/git.nix @@ -12,12 +12,4 @@ }; }; }; - - flake.nixosModules.gnupg = { pkgs, ... }: { - programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; - pinentryPackage = pkgs.pinentry-rofi; - }; - }; } diff --git a/modules/features/gpg.nix b/modules/features/gpg.nix new file mode 100644 index 0000000..657605d --- /dev/null +++ b/modules/features/gpg.nix @@ -0,0 +1,9 @@ +{ inputs, lib, self, ... }: { + flake.nixosModules.gnupg = { pkgs, ... }: { + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + pinentryPackage = pkgs.pinentry-rofi; + }; + }; +}