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