fix the portal thingy

This commit is contained in:
Noa Aarts 2024-06-06 12:50:28 +02:00
parent e0338d6fad
commit c6da1a7763
3 changed files with 13 additions and 2 deletions

View file

@ -18,6 +18,10 @@ in
wallpapers.automapaper = {
enable = lib.mkEnableOption "enable automapaper";
};
portalPackage = lib.mkOption {
type = lib.types.package;
default = pkgs.xdg-desktop-portal-hyprland;
};
};
imports = [
@ -54,7 +58,10 @@ in
];
xdg.portal.configPackages = [ cfg.package ];
xdg.portal = {
extraPortals = [ cfg.portalPackage ];
config.common.default = "*";
};
services.playerctld.enable = true;
wayland.windowManager.hyprland = {