2020-04-24 23:36:52 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
services.sysprof = {
|
2024-04-21 15:54:59 +00:00
|
|
|
enable = lib.mkEnableOption "sysprof profiling daemon";
|
2020-04-24 23:36:52 +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;
|
|
|
|
}
|