From a5bc5e556edfc310998ab9d316dbee478cf84ac4 Mon Sep 17 00:00:00 2001 From: lightly-toasted Date: Sat, 16 Aug 2025 12:01:45 +0900 Subject: [PATCH] feat(xdg): configure mimeapps and portal --- home/toast/home.nix | 1 + home/toast/modules/xdg.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 home/toast/modules/xdg.nix diff --git a/home/toast/home.nix b/home/toast/home.nix index 94e51c4..51975cb 100644 --- a/home/toast/home.nix +++ b/home/toast/home.nix @@ -23,6 +23,7 @@ ./modules/mouse-actions ./modules/hypridle.nix ./modules/obsidian.nix + ./modules/xdg.nix ]; home = { diff --git a/home/toast/modules/xdg.nix b/home/toast/modules/xdg.nix new file mode 100644 index 0000000..1568cc0 --- /dev/null +++ b/home/toast/modules/xdg.nix @@ -0,0 +1,14 @@ +{ + xdg = { + enable = true; + portal.enable = true; + mimeApps = { + enable = true; + defaultApplications = { + "x-scheme-handler/roblox-player" = "org.vinegarhq.Sober.desktop"; + "x-scheme-handler/roblox-studio" = "org.vinegarhq.Vinegar.desktop"; + "x-scheme-handler/discord" = "vesktop.desktop"; + }; + }; + }; +}