f3d1333f0d
The 0.7.0 update allows us to split the package.
36 lines
417 B
Nix
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 ];
|
|
|
|
};
|
|
|
|
}
|