mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
ef176dcf7e
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
46 lines
776 B
Nix
46 lines
776 B
Nix
# GLib Networking
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
meta = {
|
|
maintainers = teams.gnome.members;
|
|
};
|
|
|
|
# Added 2021-05-07
|
|
imports = [
|
|
(mkRenamedOptionModule
|
|
[ "services" "gnome3" "glib-networking" "enable" ]
|
|
[ "services" "gnome" "glib-networking" "enable" ]
|
|
)
|
|
];
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.gnome.glib-networking = {
|
|
|
|
enable = mkEnableOption (lib.mdDoc "network extensions for GLib");
|
|
|
|
};
|
|
|
|
};
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.gnome.glib-networking.enable {
|
|
|
|
services.dbus.packages = [ pkgs.glib-networking ];
|
|
|
|
systemd.packages = [ pkgs.glib-networking ];
|
|
|
|
environment.sessionVariables.GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ];
|
|
|
|
};
|
|
|
|
}
|