Add Bluetui, organize some other things

This commit is contained in:
Bun 2025-04-17 11:17:51 -04:00
parent c2ae238ae3
commit 6ead3afd36
4 changed files with 19 additions and 8 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
{
config = lib.mkIf config.system.desktop.enable {
hardware.bluetooth = {
@ -8,6 +8,9 @@
Policy.AutoEnable = "true";
};
};
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
environment = {
systemPackages = with pkgs; [ bluetui ];
persistence."/persist".directories = [ "/var/lib/bluetooth" ];
};
};
}