grimm-nixos-laptop/modules/xdg.nix

17 lines
300 B
Nix

with import <nixpkgs> {};
{
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-kde
xdg-desktop-portal-gtk
];
};
environment.sessionVariables = {
XDG_CONFIG_HOME = "$HOME/.config";
};
}