mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
24 lines
415 B
Nix
24 lines
415 B
Nix
# Bamf
|
|
{ config, lib, pkgs, ... }:
|
|
{
|
|
meta = with lib; {
|
|
maintainers = with lib.maintainers; [ ] ++ lib.teams.pantheon.members;
|
|
};
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
services.bamf = {
|
|
enable = lib.mkEnableOption "bamf";
|
|
};
|
|
};
|
|
|
|
###### implementation
|
|
|
|
config = lib.mkIf config.services.bamf.enable {
|
|
services.dbus.packages = [ pkgs.bamf ];
|
|
|
|
systemd.packages = [ pkgs.bamf ];
|
|
};
|
|
}
|