Make changes for magicman

This commit is contained in:
2024-04-18 20:24:29 +02:00
parent fca52c4b84
commit 8d151534b1
6 changed files with 68 additions and 20 deletions

View File

@@ -35,11 +35,15 @@
# Setup hyprland
services.xserver.enable = true;
# programs.hyprland = {
# enable = true;
# xwayland.enable = true;
# portalPackage = pkgs.xdg-desktop-portal-hyprland;
# };
services.xserver.displayManager = {
gdm.wayland = true;
lightdm.enable = false;
};
programs.hyprland = {
enable = true;
xwayland.enable = true;
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
# Setup common XDG env vars
environment.sessionVariables = rec {
@@ -56,7 +60,7 @@
enable = true;
xdgOpenUsePortal = true;
extraPortals = (with pkgs; [
xdg-desktop-portal-hyprland
# xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
]);
};