37 lines
699 B
Nix
37 lines
699 B
Nix
{ pkgs, ... }:
|
|
{
|
|
xdg.portal = {
|
|
enable = true;
|
|
wlr.enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-hyprland
|
|
xdg-desktop-portal-gtk
|
|
];
|
|
configPackages = [ pkgs.hyprland ];
|
|
config.common = {
|
|
default = [
|
|
"hyprland"
|
|
"gtk"
|
|
];
|
|
"org.freedesktop.impl.portal.Settings" = [
|
|
"hyprland"
|
|
];
|
|
"org.freedesktop.impl.portal.FileChooser" = [
|
|
"gtk"
|
|
];
|
|
};
|
|
};
|
|
services = {
|
|
flatpak = {
|
|
enable = true;
|
|
packages = [
|
|
"org.vinegarhq.Sober"
|
|
"io.github.flattool.Warehouse"
|
|
"com.github.tchx84.Flatseal"
|
|
];
|
|
|
|
update.onActivation = true;
|
|
};
|
|
};
|
|
}
|