depot/ops/nixos/lib/graphical-client-wayland.nix

22 lines
444 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, depot, lib, ... }:
let
inherit (lib) mkBefore;
in
{
imports = [
./graphical-client.nix
];
config = {
my.home-manager.imports = lib.mkAfter [ ./home-manager/graphical-client-wayland.nix ];
xdg.portal = {
enable = true;
extraPortals = with depot.pkgs; [ xdg-desktop-portal-wlr ];
};
};
}