mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
24 lines
318 B
Nix
24 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 ];
|
|
};
|
|
}
|