Skip to content

Commit

Permalink
refactor: xdg portal in it's own config and enable xdgOpenUsePortal
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jul 20, 2023
1 parent 213da2e commit 58602da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/_mixins/desktop/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ desktop, lib, pkgs, ... }: {
imports = [
../services/cups.nix
../services/xdg-portal.nix
]
++ lib.optional (builtins.pathExists (./. + "/${desktop}.nix")) ./${desktop}.nix;

Expand Down
6 changes: 6 additions & 0 deletions nixos/_mixins/services/xdg-portal.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
_: {
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
};
}

0 comments on commit 58602da

Please sign in to comment.