nixos/bamf: init

This commit is contained in:
Jan Tojnar 2018-07-07 18:49:39 +02:00
parent b4d9f481f5
commit bf09bb5ef0
2 changed files with 24 additions and 0 deletions

View File

@ -220,6 +220,7 @@
./services/databases/stanchion.nix
./services/databases/virtuoso.nix
./services/desktops/accountsservice.nix
./services/desktops/bamf.nix
./services/desktops/dleyna-renderer.nix
./services/desktops/dleyna-server.nix
./services/desktops/flatpak.nix

View File

@ -0,0 +1,23 @@
# 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 ];
};
}