fix the portal thingy
This commit is contained in:
parent
e0338d6fad
commit
c6da1a7763
3 changed files with 13 additions and 2 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue