nixpkgs/nixos/modules/services/misc/sysprof.nix
2018-05-16 16:54:12 +02:00

20 lines
399 B
Nix

{ config, lib, pkgs, ... }:
{
options = {
services.sysprof = {
enable = lib.mkEnableOption "sysprof profiling daemon";
};
};
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;
}