All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
20 lines
328 B
Nix
20 lines
328 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
device,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
xdg.portal = {
|
|
enable = device.is "ryu";
|
|
config = {
|
|
hyprland.default = ["hyprland"];
|
|
common.default = ["*" "hyprland"];
|
|
};
|
|
};
|
|
}
|
|
// lib.optionalAttrs (device.is "ryu") {
|
|
environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"];
|
|
}
|