hyprland xdg-portal and displays conf
This commit is contained in:
parent
c882579a90
commit
f08e55abe2
4 changed files with 18 additions and 9 deletions
|
|
@ -33,6 +33,12 @@ in {
|
|||
|
||||
home-manager.users.${user}.imports = [
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
config.common.default = ["hyprland"];
|
||||
extraPortals = if cfg.hyprland then [ pkgs.xdg-desktop-portal-hyprland ] else if cfg.sway then [ pkgs.xdg-desktop-portal-sway ] else [];
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = mkIf cfg.hyprland {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue