mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 11:12:00 -05:00
fix:portal_services
This commit is contained in:
@@ -12,6 +12,22 @@ in
|
|||||||
niri
|
niri
|
||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
];
|
];
|
||||||
|
systemd.user.services.xdg-desktop-portal-gtk = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Portal service (GTK implementation)";
|
||||||
|
PartOf = ["graphical-session.target"];
|
||||||
|
After = ["graphical-session.target"];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
Type = "dbus";
|
||||||
|
BusName = "org.freedesktop.impl.portal.desktop.gtk";
|
||||||
|
ExecStart = "${pkgs.xdg-desktop-portal-gtk}/libexec/xdg-desktop-portal-gtk";
|
||||||
|
Slice = "session.slice";
|
||||||
|
};
|
||||||
|
Install = {
|
||||||
|
WantedBy = ["xdg-desktop-portal.service"];
|
||||||
|
};
|
||||||
|
};
|
||||||
systemd.user.targets.niri-session = {
|
systemd.user.targets.niri-session = {
|
||||||
Unit = {
|
Unit = {
|
||||||
After = "graphical-session-pre.target graphical-session.target";
|
After = "graphical-session-pre.target graphical-session.target";
|
||||||
@@ -24,6 +40,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
common = {
|
common = {
|
||||||
default = ["gtk"];
|
default = ["gtk"];
|
||||||
|
|||||||
Reference in New Issue
Block a user