about summary refs log tree commit diff
path: root/users/grfn/system/home/machines
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-07-15T13·01-0400
committergrfn <grfn@gws.fyi>2021-07-16T13·44+0000
commitf32cc0ecb12d5292881dbe3bd3c036bf941dc182 (patch)
tree15c7f74fb3f62b21713d0080b9720a2ff97035d1 /users/grfn/system/home/machines
parent2c6b00330f9e468ad4b2d624818c270f56c01022 (diff)
fix(gs/system): Add mime handler for telegramdesktop r/2693
Telegram adds this itself, which means the file is different from what
home-manager knows about, which means running home-manager switch
breaks unless this is here.

Change-Id: Iad507bf63365a630b7eef349228b633f5b83d78b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3251
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/system/home/machines')
-rw-r--r--users/grfn/system/home/machines/yeren.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/grfn/system/home/machines/yeren.nix b/users/grfn/system/home/machines/yeren.nix
index 91bd9d7ea32b..38bab0299525 100644
--- a/users/grfn/system/home/machines/yeren.nix
+++ b/users/grfn/system/home/machines/yeren.nix
@@ -66,4 +66,7 @@ in
   };
 
   xsession.windowManager.i3.config.keybindings.F9 = "exec lock";
+
+  xdg.mimeApps.defaultApplications."x-scheme-handler/tg" =
+    "telegramdesktop.desktop";
 }