mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
fa03881954
Since we moved gsettings-desktop-schemas to top-level, gnome3.glib-networking was the same as glib-networking. We could try to make the top-level variant not depend on gsettings-desktop-schemas again but that is probably pointless, as the dependency is rather small compared to things like libproxy. Instead, we will just drop the package in gnome3 attr set and always rely on the top-level expression.
34 lines
516 B
Nix
34 lines
516 B
Nix
# GLib Networking
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.gnome3.glib-networking = {
|
|
|
|
enable = mkEnableOption "network extensions for GLib";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.gnome3.glib-networking.enable {
|
|
|
|
services.dbus.packages = [ pkgs.glib-networking ];
|
|
|
|
systemd.packages = [ pkgs.glib-networking ];
|
|
|
|
environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ];
|
|
|
|
};
|
|
|
|
}
|