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
|
||||
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 = {
|
||||
Unit = {
|
||||
After = "graphical-session-pre.target graphical-session.target";
|
||||
@@ -24,6 +40,7 @@ in
|
||||
};
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
config = {
|
||||
common = {
|
||||
default = ["gtk"];
|
||||
|
||||
Reference in New Issue
Block a user