mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
6afb255d97
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
41 lines
648 B
Nix
41 lines
648 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
meta = {
|
|
maintainers = teams.deepin.members;
|
|
};
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.deepin.dde-daemon = {
|
|
|
|
enable = mkEnableOption "daemon for handling the deepin session settings";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.deepin.dde-daemon.enable {
|
|
|
|
environment.systemPackages = [ pkgs.deepin.dde-daemon ];
|
|
|
|
services.dbus.packages = [ pkgs.deepin.dde-daemon ];
|
|
|
|
services.udev.packages = [ pkgs.deepin.dde-daemon ];
|
|
|
|
systemd.packages = [ pkgs.deepin.dde-daemon ];
|
|
|
|
environment.pathsToLink = [ "/lib/deepin-daemon" ];
|
|
|
|
};
|
|
|
|
}
|