From 9fffd3d5e1b6b554c5a06f2fc15190e8ee3a2f66 Mon Sep 17 00:00:00 2001 From: adikro Date: Thu, 19 Mar 2026 00:31:06 +0100 Subject: transfered from gpg to ssh and age --- hm/conf/git.nix | 11 ++++------- hm/conf/xdg-mime.nix | 6 +----- 2 files changed, 5 insertions(+), 12 deletions(-) (limited to 'hm') diff --git a/hm/conf/git.nix b/hm/conf/git.nix index b30e96e..15a7804 100644 --- a/hm/conf/git.nix +++ b/hm/conf/git.nix @@ -22,21 +22,18 @@ in name = "adikro"; email = "adikro@disroot.org"; }; - gpg.format = "openpgp"; + gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers"; init.defaultBranch = "main"; push.autoSetupRemote = true; pull.rebase = true; - "url \"git@codeberg.org:\"".insteadOf = "https://codeberg.org/"; }; ignores = [ - "*.swp" "result" ".direnv/" - "secrets/*.tmp" ]; - extraConfig = { - gpg.ssh.program = "ssh-keygen"; - }; }; + home.file.".ssh/allowed_signers".text = '' + adikro@disroot.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC610CJfgc3yII7MpLVqzEzQGa8Tsm+dih+CTXHXTnv4 + ''; }; } diff --git a/hm/conf/xdg-mime.nix b/hm/conf/xdg-mime.nix index cbf353d..05b85a2 100644 --- a/hm/conf/xdg-mime.nix +++ b/hm/conf/xdg-mime.nix @@ -11,10 +11,7 @@ in mimeApps = { enable = true; defaultApplications = { - "application/pdf" = [ "org.pwmt.zathura.desktop" ]; - "application/x-bzpdf" = [ "org.pwmt.zathura.desktop" ]; - "application/x-gzpdf" = [ "org.pwmt.zathura.desktop" ]; - "application/epub+zip" = [ "org.pwmt.zathura.desktop" ]; + "application/pdf" = [ "sioyek.desktop" ]; "image/png" = [ "nsxiv.desktop" ]; "image/jpeg" = [ "nsxiv.desktop" ]; @@ -51,7 +48,6 @@ in VISUAL = "nvim"; BROWSER = "librewolf"; TERMINAL = "foot"; - GPG_TTY = "$(tty)"; COLORTERM = "truecolor"; }; }; -- cgit v1.3