mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 07:04:28 +00:00
42 lines
676 B
Nix
42 lines
676 B
Nix
# GNOME Documents daemon.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.gnome3.gnome-terminal-server = {
|
|
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = ''
|
|
Whether to enable GNOME Terminal server service,
|
|
needed for gnome-terminal.
|
|
'';
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.gnome3.gnome-terminal-server.enable {
|
|
|
|
environment.systemPackages = [ pkgs.gnome3.gnome-terminal ];
|
|
|
|
services.dbus.packages = [ pkgs.gnome3.gnome-terminal ];
|
|
|
|
systemd.packages = [ pkgs.gnome3.gnome-terminal ];
|
|
|
|
};
|
|
|
|
}
|