1
0
Fork 0

Compare commits

..

No commits in common. "781171768c077b85a089a37250bc727c1958beb1" and "a9b04bd311edc4bf5547d11574a3ee5930f0e6fd" have entirely different histories.

3 changed files with 21 additions and 3 deletions

View file

@ -248,11 +248,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1721413321,
"narHash": "sha256-0GdiQScDceUrVGbxYpV819LHesK3szHOhJ09e6sgES4=",
"lastModified": 1721331912,
"narHash": "sha256-h2yaU+QEU4pHxMySHPIsRV2T/pihDHnrXBca8BY6xgc=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "ab165a8a6cd12781d76fe9cbccb9e975d0fb634f",
"rev": "bb90787ea034c8b9035dfcfc9b4dc23898d414be",
"type": "github"
},
"original": {

View file

@ -33,6 +33,10 @@ in
system.stateVersion = stateVersion;
networking.hostName = hostName;
# FIXME: disabling fingerprints due to fprintd-tod build error
# Fix queued and coming: https://github.com/NixOS/nixpkgs/pull/327289
services.fprintd.enable = lib.mkForce false;
aux.system = {
apps = {
development.enable = true;

View file

@ -33,5 +33,19 @@ in
# Add Bluetooth LE audio support
environment.systemPackages = with pkgs; [ liblc3 ];
# FIXME: Create systemd service to manually start the adapter on boot.
# This is a workaround for hardware.bluetooth.powerOnBoot not working as expected.
systemd.services.startBluetooth = {
description = "Manually starts the Bluetooth service on boot";
after = [ "bluetooth.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
type = "simple";
ExecStart = "${pkgs.bluez}/bin/bluetoothctl -- power on";
Restart = "always";
RestartSec = "5s";
};
};
};
}