From 37946f75cb4f7431b116702d2b275fe4c27e7c7a Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 4 May 2023 18:44:33 +0200 Subject: Feat(users/sils/gpg): Add gpg --- users/sils/default.nix | 5 ++++- users/sils/gpg/default.nix | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 users/sils/gpg/default.nix diff --git a/users/sils/default.nix b/users/sils/default.nix index 5240fa9..c5fa572 100644 --- a/users/sils/default.nix +++ b/users/sils/default.nix @@ -3,7 +3,10 @@ system, ... }: { - imports = [./packages]; + imports = [ + ./packages + ./gpg + ]; home = { username = "sils"; diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix new file mode 100644 index 0000000..7c592d0 --- /dev/null +++ b/users/sils/gpg/default.nix @@ -0,0 +1,9 @@ +{config, ...}: { + programs.gpg = { + enable = true; + homedir = "${config.xdg.dataHome}/gnupg"; + }; + services.gpg-agent = { + enable = true; + }; +} -- cgit 1.4.1