Installed diffview

This commit is contained in:
2026-05-15 15:33:34 +02:00
parent 66c24c9192
commit cb078522bd
3 changed files with 23 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@
#./openscad.nix
#./molten.nix
./which-key.nix
./diffview.nix
];
home.packages = with pkgs; [
+13
View File
@@ -0,0 +1,13 @@
_: {
programs.nixvim = {
plugins.diffview = {
enable = true;
keymaps = {
"]x" = "<cmd>DiffviewConflictNext<CR>";
"[x" = "<cmd>DiffviewConflictPrev<CR>";
"do" = "<cmd>DiffviewFocusOurs<CR>";
"dt" = "<cmd>DiffviewFocusTheirs<CR>";
};
};
};
}
+9
View File
@@ -7,16 +7,25 @@
"*" = {
addKeysToAgent = "yes";
};
"*.cyperpunk.de" = {
identityFile =
if isDarwin then "/Users/${primaryUser}/.ssh/ssh" else "/home/${primaryUser}/.ssh/ssh";
user = primaryUser;
};
"github.com" = {
identityFile =
if isDarwin then "/Users/${primaryUser}/.ssh/github" else "/home/${primaryUser}/.ssh/github";
user = "git";
};
"git.rz.tu-bs.de" = {
identityFile =
if isDarwin then "/Users/${primaryUser}/.ssh/github" else "/home/${primaryUser}/.ssh/github";
user = "git";
};
};
};
}