2019-04-08 20:11:59 +01:00
|
|
|
# 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 {
|
|
|
|
|
2019-09-02 12:53:11 +01:00
|
|
|
services.dbus.packages = [ pkgs.glib-networking ];
|
2019-04-08 20:11:59 +01:00
|
|
|
|
2019-09-02 12:53:11 +01:00
|
|
|
systemd.packages = [ pkgs.glib-networking ];
|
2019-04-08 20:11:59 +01:00
|
|
|
|
2019-09-02 12:53:11 +01:00
|
|
|
environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ];
|
2019-04-08 20:11:59 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|