initial commit

This commit is contained in:
gwg313 2026-04-15 18:26:05 -04:00
commit ebc1be5217
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
143 changed files with 7721 additions and 0 deletions

40
modules/nixos/gui/xdg.nix Normal file
View file

@ -0,0 +1,40 @@
{
config,
lib,
pkgs,
...
}:
{
# XDG Portals
xdg = {
autostart.enable = true;
portal = {
enable = true;
wlr.enable = true;
xdgOpenUsePortal = true;
extraPortals = [
# pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
config = {
common = {
default = [ "gtk" ];
};
};
};
};
environment.pathsToLink = [
"/share/applications"
"/share/xdg-desktop-portal"
];
environment.systemPackages = with pkgs; [
xdg-utils
xdg-desktop-portal
xdg-desktop-portal-gtk
wl-clipboard
];
environment.sessionVariables = {
XDG_SESSION_TYPE = "wayland";
};
}