2018-07-07 18:49:39 +02:00
|
|
|
# Bamf
|
|
|
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2021-08-02 02:46:24 +02:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
|
2020-04-02 02:16:24 +02:00
|
|
|
};
|
|
|
|
|
2018-07-07 18:49:39 +02:00
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
services.bamf = {
|
2022-08-28 21:18:44 +02:00
|
|
|
enable = mkEnableOption (lib.mdDoc "bamf");
|
2018-07-07 18:49:39 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.services.bamf.enable {
|
|
|
|
services.dbus.packages = [ pkgs.bamf ];
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.bamf ];
|
|
|
|
};
|
|
|
|
}
|