diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index ef15a295..aa0d9617 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -25,8 +25,9 @@ ''; "hypr/extra.conf" = lib.mkDefault { text = ""; }; }; - mimeApps = let - associations = { + mimeApps = rec { + enable = true; + defaultApplications = { "image/jpeg" = [ "swayimg.desktop" ]; "image/png" = [ "swayimg.desktop" ]; "video/mp4" = [ "mpv.desktop" ]; @@ -34,11 +35,9 @@ "application/json" = [ "emacs.desktop" ]; "application/x-yaml" = [ "emacs.desktop" ]; "text/csv" = [ "calc.desktop" ]; + "x-scheme-handler/msteams" = [ "teams-for-linux.desktop" ]; }; - in { - enable = true; - defaultApplications = associations; - associations.added = associations; + associations.added = defaultApplications; }; }; } diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index c8e2f259..309c8adf 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -25,7 +25,5 @@ monitor=eDP-1,preferred,0x480,1.5 monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x0,1 - - exec-once=teams-for-linux ''; }