nixpkgs/nixos/modules/services/desktops/malcontent.nix
Jan Tojnar f3d1333f0d
malcontent-ui: split from malcontent
The 0.7.0 update allows us to split the package.
2020-04-08 17:08:15 +02:00

36 lines
417 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 = with pkgs; [
malcontent
malcontent-ui
];
services.dbus.packages = [ pkgs.malcontent ];
};
}