nixos/neard: init

This commit is contained in:
Jan Tojnar 2019-11-23 22:34:57 +01:00
parent e89b21504f
commit 2c81a6116b
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 24 additions and 0 deletions

View File

@ -308,6 +308,7 @@
./services/desktops/gnome3/sushi.nix
./services/desktops/gnome3/tracker.nix
./services/desktops/gnome3/tracker-miners.nix
./services/desktops/neard.nix
./services/desktops/profile-sync-daemon.nix
./services/desktops/system-config-printer.nix
./services/desktops/telepathy.nix

View File

@ -0,0 +1,23 @@
# neard service.
{ config, lib, pkgs, ... }:
with lib;
{
###### interface
options = {
services.neard = {
enable = mkEnableOption "neard, NFC daemon";
};
};
###### implementation
config = mkIf config.services.neard.enable {
environment.systemPackages = [ pkgs.neard ];
services.dbus.packages = [ pkgs.neard ];
systemd.packages = [ pkgs.neard ];
};
}