mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
33 lines
381 B
Nix
33 lines
381 B
Nix
# Malcontent daemon.
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.malcontent = {
|
|
|
|
enable = mkEnableOption "Malcontent";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.malcontent.enable {
|
|
|
|
environment.systemPackages = [ pkgs.malcontent ];
|
|
|
|
services.dbus.packages = [ pkgs.malcontent ];
|
|
|
|
};
|
|
|
|
}
|