Reformatted with nixfmt

This commit is contained in:
alejandro-angulo 2025-03-31 22:34:25 -07:00
parent f51256c3ae
commit 3f16537322
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
80 changed files with 1454 additions and 992 deletions

View file

@ -5,11 +5,13 @@
namespace,
system,
...
}: let
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.programs.gpg;
in {
in
{
options.${namespace}.programs.gpg = {
enable = mkEnableOption "gpg";
};
@ -33,9 +35,7 @@ in {
services.gpg-agent = mkIf (system == "x86_64-linux") {
enable = true;
pinentryPackage =
if config.${namespace}.windowManagers.sway.enable
then pkgs.pinentry-qt
else pkgs.pinentry-curses;
if config.${namespace}.windowManagers.sway.enable then pkgs.pinentry-qt else pkgs.pinentry-curses;
enableZshIntegration = true;
enableSshSupport = true;
sshKeys = [