19 lines
493 B
Nix
19 lines
493 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
options.chvp.base.bluetooth.enable = lib.mkOption {
|
|
default = false;
|
|
example = true;
|
|
};
|
|
|
|
config = lib.mkIf config.chvp.base.bluetooth.enable {
|
|
chvp.base.zfs.systemLinks = [{ path = "/var/lib/bluetooth"; type = "cache"; }];
|
|
|
|
hardware.bluetooth.enable = true;
|
|
services.blueman.enable = true;
|
|
|
|
home-manager.users.charlotte = lib.mkIf config.chvp.graphical.enable ({ ... }: {
|
|
services.blueman-applet.enable = true;
|
|
});
|
|
};
|
|
}
|