feat: add hyprland WIP
This commit is contained in:
parent
971f3a44de
commit
7c5af81e75
8 changed files with 170 additions and 9 deletions
|
|
@ -1,13 +1,14 @@
|
|||
{ lib, config, ... }: lib.mkIf config.bchmnn.gui.enable {
|
||||
{ lib, config, pkgs, ... }: lib.mkIf config.bchmnn.gui.enable {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
# gtk portal needed to make gtk apps happy
|
||||
# extraPortals = [
|
||||
# pkgs.xdg-desktop-portal-wlr
|
||||
# pkgs.xdg-desktop-portal-gtk
|
||||
# ];
|
||||
# upper has been replaced by following
|
||||
config.common.default = "*";
|
||||
extraPortals = with lib; with config.bchmnn; optionals (elem "sway" gui.flavour) [
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
] ++ optionals (elem "hyprland" gui.flavour) [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue