mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
1 parent
33c0f6da60
commit
58319b7a79
1 file changed
+15
@@ -47,6 +47,21 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
|
systemd.user.services.xdg-desktop-portal = {
|
||||||
|
Unit.After = [ "dbus.service" ];
|
||||||
|
Service = {
|
||||||
|
Type = "dbus";
|
||||||
|
BusName = "org.freedesktop.impl.portal.Service";
|
||||||
|
Restart = "on-failure";
|
||||||
|
ExecStart = "${pkgs.xdg-desktop-portal}/libexec/xdg-desktop-portal";
|
||||||
|
RestartSec = 3;
|
||||||
|
PrivateUsers = false;
|
||||||
|
RestrictNamespaces = false;
|
||||||
|
SystemCallFilter = null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
glib
|
glib
|
||||||
dconf
|
dconf
|
||||||
|
|||||||
Reference in new issue
Block a user