about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/services/desktops/neard.nix
blob: 9130b8d3d216da0aeeac5f9e32f2d6126ed5390a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# neard service.
{ config, lib, pkgs, ... }:

with lib;

{
  ###### interface
  options = {
    services.neard = {
      enable = mkEnableOption (lib.mdDoc "neard, NFC daemon");
    };
  };


  ###### implementation
  config = mkIf config.services.neard.enable {
    environment.systemPackages = [ pkgs.neard ];

    services.dbus.packages = [ pkgs.neard ];

    systemd.packages = [ pkgs.neard ];
  };
}