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

23 lines
444 B
Nix
Raw Permalink Normal View History

2021-05-05 21:13:27 +00:00
# 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 ];
2021-05-06 02:56:20 +00:00
xdg.portal = {
enable = true;
extraPortals = with depot.pkgs; [ xdg-desktop-portal-wlr ];
};
2021-05-05 21:13:27 +00:00
};
}