changes to modules + adoption of PC

This commit is contained in:
2026-06-24 21:59:08 -05:00
parent 872d29c688
commit 03c2d57c67
46 changed files with 970 additions and 217 deletions
+21 -3
View File
@@ -1,9 +1,27 @@
{ pkgs, ... }:
{
xdg.portal = {
enable = true;
xdgOpenUsePortal = true; # Recommended to fix xdg-open issues
extraPortals = with pkgs; [
xdg-desktop-portal-gtk # For file choosers in GTK apps
xdg-desktop-portal-hyprland # For Hyprland (or wlr for other wlroots)
];
config = {
common.default = [ "gtk" ]; # Default fallback
hyprland = {
default = [
"hyprland"
"gtk"
];
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
};
};
};
services.desktopManager.plasma6.enable = true;
services.displayManager.sddm.wayland.enable = true;
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
}