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