2023-09-26 22:25:58 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
minimal,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
lib.optionalAttrs (!minimal) {
|
2023-09-01 20:17:33 +02:00
|
|
|
services.dbus.enable = true;
|
2023-09-03 13:05:23 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
wdisplays
|
|
|
|
wl-clipboard
|
|
|
|
];
|
2024-06-30 19:53:19 +02:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
xdgOpenUsePortal = true;
|
|
|
|
config.common = {
|
|
|
|
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
|
|
|
"org.freedesktop.impl.portal.ScreenCast" = ["hyprland"];
|
|
|
|
"org.freedesktop.impl.portal.Screenshot" = ["hyprland"];
|
|
|
|
"org.freedesktop.portal.FileChooser" = ["xdg-desktop-portal-gtk"];
|
|
|
|
};
|
|
|
|
extraPortals = [
|
|
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
|
|
pkgs.xdg-desktop-portal-gtk
|
|
|
|
];
|
|
|
|
};
|
2023-09-01 20:17:33 +02:00
|
|
|
}
|