gendry: enable bluetooth

This commit is contained in:
Jake Hillion 2023-01-24 20:26:59 +00:00
parent 9c9f4868fb
commit c373abf37c
3 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,6 @@
{ config, pkgs, lib, ... }:
{
config.hardware.bluetooth.enable = true;
config.environment.systemPackages = with pkgs; [ bluez-tools ];
}

View File

@ -10,6 +10,7 @@
../../modules/common/default.nix ../../modules/common/default.nix
../../modules/desktop/awesome/default.nix ../../modules/desktop/awesome/default.nix
../../modules/spotify/default.nix ../../modules/spotify/default.nix
./bluetooth.nix
./hardware-configuration.nix ./hardware-configuration.nix
./persist.nix ./persist.nix
./resilio.nix ./resilio.nix

View File

@ -23,7 +23,7 @@
]; ];
}; };
## Persistent directory symlinks ## Persistent directories and symlinks
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
### Persistent home subdirectories ### Persistent home subdirectories
"L /root/local - - - - /data/users/root" "L /root/local - - - - /data/users/root"
@ -54,4 +54,10 @@
device = "/data/system/var/lib/tailscale"; device = "/data/system/var/lib/tailscale";
options = [ "bind" ]; options = [ "bind" ];
}; };
## Bluetooth
fileSystems."/var/lib/bluetooth" = {
device = "/data/system/var/lib/bluetooth";
options = [ "bind" ];
};
} }