nixos/bamf: init
commitbf09bb5ef0330c0703e7e1d89d7bfe3d971026ee
authorJan Tojnar <jtojnar@gmail.com>
dateSat 7 Jul 2018, 18:49 (8 years ago)
parentb4d9f48
nixos/modules/module-list.nix+1
@@ -220,6 +220,7 @@
220220 ./services/databases/stanchion.nix
221221 ./services/databases/virtuoso.nix
222222 ./services/desktops/accountsservice.nix
223+ ./services/desktops/bamf.nix
223224 ./services/desktops/dleyna-renderer.nix
224225 ./services/desktops/dleyna-server.nix
225226 ./services/desktops/flatpak.nix
nixos/modules/services/desktops/bamf.nixnew file+23
@@ -0,0 +1,23 @@
1+# Bamf
2+
3+{ config, lib, pkgs, ... }:
4+
5+with lib;
6+
7+{
8+ ###### interface
9+
10+ options = {
11+ services.bamf = {
12+ enable = mkEnableOption "bamf";
13+ };
14+ };
15+
16+ ###### implementation
17+
18+ config = mkIf config.services.bamf.enable {
19+ services.dbus.packages = [ pkgs.bamf ];
20+
21+ systemd.packages = [ pkgs.bamf ];
22+ };
23+}