2017-12-31 14:52:50 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
services.sysprof = {
|
2022-08-28 20:18:44 +01:00
|
|
|
enable = lib.mkEnableOption (lib.mdDoc "sysprof profiling daemon");
|
2017-12-31 14:52:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf config.services.sysprof.enable {
|
|
|
|
environment.systemPackages = [ pkgs.sysprof ];
|
|
|
|
|
|
|
|
services.dbus.packages = [ pkgs.sysprof ];
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.sysprof ];
|
|
|
|
};
|
|
|
|
|
|
|
|
meta.maintainers = pkgs.sysprof.meta.maintainers;
|
|
|
|
}
|