diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-05-06 18:55:06 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-05-06 18:55:06 +0300 |
commit | 8f7371998f813857f25afef4160075665f924ab7 (patch) | |
tree | 7bffc723cbed32ab8aacae2feaf60de039bd3ff3 /modules/nixos/common/xdg.nix | |
parent | 2023-05-04 (diff) |
2023-05-06
Diffstat (limited to 'modules/nixos/common/xdg.nix')
-rw-r--r-- | modules/nixos/common/xdg.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/nixos/common/xdg.nix b/modules/nixos/common/xdg.nix index 8ddf1ac..d74bf82 100644 --- a/modules/nixos/common/xdg.nix +++ b/modules/nixos/common/xdg.nix @@ -15,6 +15,11 @@ with lib; { (mkAliasOptionModule ["userDirs"] (withBase "userDirs")) ]; + xdg.portal = mkIf this.isHeadful { + enable = true; + xdgOpenUsePortal = true; + }; + hm.xdg = mkMerge [ { enable = true; |