nixpkgs/nixos/modules/services/desktops/gnome3/glib-networking.nix
Jan Tojnar fa03881954
gnome3.glib-networking: replace with alias
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.
2019-09-03 03:48:06 +02:00

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" ];
};
}