summaryrefslogtreecommitdiff
path: root/hm
diff options
context:
space:
mode:
Diffstat (limited to 'hm')
-rw-r--r--hm/conf/git.nix11
-rw-r--r--hm/conf/xdg-mime.nix6
2 files changed, 5 insertions, 12 deletions
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";
};
};