nixos: enable bluetooth module
This commit is contained in:
parent
794fb16445
commit
05274f898b
5 changed files with 16 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./ookpower.nix
|
||||
./live-buds-cli.nix
|
||||
./virt-manager.nix
|
||||
./1password.nix
|
||||
./ookvolume.nix
|
||||
|
|
|
|||
13
modules/home/workstation/tools/live-buds-cli.nix
Normal file
13
modules/home/workstation/tools/live-buds-cli.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
osConfig,
|
||||
self',
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf elem;
|
||||
inherit (osConfig.ooknet.hardware) features;
|
||||
in {
|
||||
config = mkIf (elem "bluetooth" features) {
|
||||
home.packages = [self'.packages.live-buds-cli];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue