about summary refs log tree commit diff
path: root/nix/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'nix/profiles')
-rw-r--r--nix/profiles/home-manager/git.nix18
1 files changed, 1 insertions, 17 deletions
diff --git a/nix/profiles/home-manager/git.nix b/nix/profiles/home-manager/git.nix
index ce9c0a9..d7b07c3 100644
--- a/nix/profiles/home-manager/git.nix
+++ b/nix/profiles/home-manager/git.nix
@@ -1,22 +1,10 @@
-{ lib, pkgs, config, ... }:
-let
-  sshPub = builtins.fromTOML (
-    builtins.readFile ../../../configs/ssh-pubkeys.toml
-  );
-in
+{ pkgs, config, ... }:
 {
-  home.file.".ssh/allowed_signers".text = lib.concatMapStrings (x: "franck@fcuny.net ${x}\n") (with sshPub; [ aptos work git ykey-laptop op ]);
-
   programs.git = {
     enable = true;
     userName = "Franck Cuny";
     userEmail = "franck@fcuny.net";
 
-    signing = {
-      key = "key::${sshPub.op}";
-      signByDefault = true;
-    };
-
     aliases = {
       amend = "commit --amend";
       ll = "log --pretty=\"format:%h %G? %aN  %s\"";
@@ -26,10 +14,6 @@ in
       core.whitespace = "trailing-space,space-before-tab";
       color.ui = "true";
 
-      gpg.format = "ssh";
-      gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
-      gpg.ssh.program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
-
       # abort if the remote branch does not match the local one
       push.default = "simple";