Begin the move to the import all, activate by config model

This commit is contained in:
Jimbo 2024-11-04 22:41:38 -05:00
parent 7397b614de
commit 07cb2d67a2
97 changed files with 776 additions and 633 deletions

View file

@ -1,17 +1,15 @@
{ ... }:
{ lib, config, ... }:
{
hardware.bluetooth = {
enable = true;
settings = {
General.Experimental = "true";
Policy.AutoEnable = "true";
config = lib.mkIf config.system.desktop.enable {
hardware.bluetooth = {
enable = true;
settings = {
General.Experimental = "true";
Policy.AutoEnable = "true";
};
};
systemd.tmpfiles.rules = [ "f /var/lib/systemd/linger/jimbo" ];
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
};
# Lingering helps keep headphones connected
systemd.tmpfiles.rules = [
"f /var/lib/systemd/linger/jimbo"
];
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
}