services: add sysprof
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
bd99a513b3
commit
892ba9b103
2 changed files with 18 additions and 0 deletions
|
@ -50,6 +50,7 @@ with lib; {
|
|||
#// swayidle.enable = true;
|
||||
swaync.enable = true;
|
||||
swayosd.enable = true;
|
||||
sysprof.enable = true;
|
||||
systemd-lock-handler.enable = true;
|
||||
usbmuxd.enable = true;
|
||||
#// xembed-sni-proxy.enable = true;
|
||||
|
|
17
options/custom/services/sysprof.nix
Normal file
17
options/custom/services/sysprof.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.custom.services.sysprof;
|
||||
in {
|
||||
options.custom.services.sysprof = {
|
||||
enable = mkOption {default = false;};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# https://gitlab.gnome.org/GNOME/sysprof
|
||||
services.sysprof.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue