aboutsummaryrefslogtreecommitdiff
path: root/home-manager/xdg/default.nix
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-09-06 16:00:22 +0000
committeraethrvmn <me@aethrvmn.gr>2025-09-06 16:00:22 +0000
commitfcd6f22f222a2514b69c6812c30ac86593607b5e (patch)
treeada2a5aa2f969538ab75365dc32baa4923fd81e9 /home-manager/xdg/default.nix
parentadd more exceptions to browser (diff)
add portals in nix-config
Diffstat (limited to 'home-manager/xdg/default.nix')
-rw-r--r--home-manager/xdg/default.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/home-manager/xdg/default.nix b/home-manager/xdg/default.nix
index 6eaa888..b4d5542 100644
--- a/home-manager/xdg/default.nix
+++ b/home-manager/xdg/default.nix
@@ -1,6 +1,23 @@
+{ config, pkgs, ... }:
{
xdg = {
enable = true;
+
+ portal = {
+ enable = true;
+ config = {
+ common = {
+ default = [
+ "wlr"
+ ];
+ };
+ };
+
+ extraPortals = with pkgs; [
+ xdg-desktop-portal-gtk
+ ];
+ };
+
mimeApps = {
enable = true; # manage ~/.config/mimeapps.list
@@ -28,7 +45,7 @@
"image/jpeg" = [ "imv-dir.desktop" ];
"image/svg+xml" = [ "featherpad.desktop" ];
- "application/pgp-keys" = [ "com.bktus.gpgfrontend" ];
+ "application/pgp-keys" = [ "eu.betterbird.Betterbird.desktop" ];
"application/octet-stream" = [ "org.gnome.FileRoller.desktop" ];
};
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.