nixos/bamf: init
This commit is contained in:
parent
b4d9f481f5
commit
bf09bb5ef0
@ -220,6 +220,7 @@
|
|||||||
./services/databases/stanchion.nix
|
./services/databases/stanchion.nix
|
||||||
./services/databases/virtuoso.nix
|
./services/databases/virtuoso.nix
|
||||||
./services/desktops/accountsservice.nix
|
./services/desktops/accountsservice.nix
|
||||||
|
./services/desktops/bamf.nix
|
||||||
./services/desktops/dleyna-renderer.nix
|
./services/desktops/dleyna-renderer.nix
|
||||||
./services/desktops/dleyna-server.nix
|
./services/desktops/dleyna-server.nix
|
||||||
./services/desktops/flatpak.nix
|
./services/desktops/flatpak.nix
|
||||||
|
23
nixos/modules/services/desktops/bamf.nix
Normal file
23
nixos/modules/services/desktops/bamf.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user