2020-04-24 23:36:52 +00:00
|
|
|
# Bamf
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
2021-08-05 21:33:18 +00:00
|
|
|
meta = with lib; {
|
2024-09-19 14:19:46 +00:00
|
|
|
maintainers = with lib.maintainers; [ ] ++ lib.teams.pantheon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
services.bamf = {
|
2024-09-19 14:19:46 +00:00
|
|
|
enable = lib.mkEnableOption "bamf";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
config = lib.mkIf config.services.bamf.enable {
|
2020-04-24 23:36:52 +00:00
|
|
|
services.dbus.packages = [ pkgs.bamf ];
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.bamf ];
|
|
|
|
};
|
|
|
|
}
|