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 ];
|
|
};
|
|
}
|