mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
23 lines
318 B
Nix
23 lines
318 B
Nix
# Bamf
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
###### interface
|
|
|
|
options = {
|
|
services.bamf = {
|
|
enable = mkEnableOption "bamf";
|
|
};
|
|
};
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.bamf.enable {
|
|
services.dbus.packages = [ pkgs.bamf ];
|
|
|
|
systemd.packages = [ pkgs.bamf ];
|
|
};
|
|
}
|