summaryrefslogtreecommitdiff
path: root/home-manager
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2024-03-19 01:17:09 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2024-03-19 01:17:09 -0600
commit1d8b4afec705eccdf733d4ebb4712baeababdbd9 (patch)
tree5ad48e679efaa923ab2fddefb421d17e3148cf67 /home-manager
parent18a612390c3cbdcedc2fa1987f460ab1bc91bfd1 (diff)
set editor var and agent to trusted servers over ssh
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/home.nix42
1 files changed, 34 insertions, 8 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix
index c526b40..c10863d 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -146,14 +146,40 @@
loadAutoconfig = true;
};
- ssh.matchBlocks = {
- serverAliveCountMax = 6;
- serverAliveInterval = 30;
- port = 2200;
- "git.wormcar.gay" = {
- user = "devinf";
- host = "git.wormcar.gay";
- port = 2200;
+ ssh = {
+ matchBlocks = {
+ serverAliveCountMax = 6;
+ serverAliveInterval = 30;
+ port = 2200;
+ "doretta" = {
+ forwardAgent = true;
+ setEnv = {
+ EDITOR = "hx";
+ };
+ };
+ "bosco" = {
+ forwardAgent = true;
+ setEnv = {
+ EDITOR = "hx";
+ };
+ };
+ "zenbook" = {
+ forwardAgent = true;
+ setEnv = {
+ EDITOR = "hx";
+ };
+ };
+ "khad" = {
+ forwardAgent = true;
+ setEnv = {
+ EDITOR = "hx";
+ };
+ };
+ "git.wormcar.gay" = {
+ user = "devinf";
+ host = "git.wormcar.gay";
+ port = 2200;
+ };
};
};