summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2024-06-05 14:22:28 +0200
committerAlan Pearce2024-06-05 14:22:28 +0200
commit41aa7cc366d2242c0dbf1e035f22e7118e2ca942 (patch)
treed3ff8dbcd7a4bd51f1cd6c89e6c3b13d5310c119 /system/settings
parentcd49be6796ebf629bb7de3590b30f08824ce70b8 (diff)
downloadnixfiles-41aa7cc366d2242c0dbf1e035f22e7118e2ca942.tar.lz
nixfiles-41aa7cc366d2242c0dbf1e035f22e7118e2ca942.tar.zst
nixfiles-41aa7cc366d2242c0dbf1e035f22e7118e2ca942.zip
overhaul gnupg/trezor setup
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/hardware/trezor.nix6
-rw-r--r--system/settings/programs/gnupg.nix12
2 files changed, 0 insertions, 18 deletions
diff --git a/system/settings/hardware/trezor.nix b/system/settings/hardware/trezor.nix
index 1004833a..3883d76f 100644
--- a/system/settings/hardware/trezor.nix
+++ b/system/settings/hardware/trezor.nix
@@ -5,13 +5,7 @@
 }: {
   services.trezord.enable = true;
   environment.systemPackages = with pkgs; [
-    gnupg
-    pinentry
     (python3.withPackages (ps: with ps; [ trezor_agent wheel ]))
     trezor-suite
   ];
-  programs.gnupg.agent = {
-    enable = lib.mkForce false;
-    enableSSHSupport = lib.mkForce false;
-  };
 }
diff --git a/system/settings/programs/gnupg.nix b/system/settings/programs/gnupg.nix
deleted file mode 100644
index f17263c9..00000000
--- a/system/settings/programs/gnupg.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ config
-, pkgs
-, lib
-, ...
-}: {
-  environment.systemPackages = with pkgs; [
-    gnupg
-    pinentry
-    (python3.withPackages (ps: with ps; [ trezor_agent wheel ]))
-  ];
-  environment.variables.GNUPGHOME = "$HOME/.gnupg/trezor/";
-}