nixos/tower: Enable bluez

This commit is contained in:
Jack O'Sullivan 2022-09-09 14:11:34 +01:00
parent edfe38591b
commit 37b0526524
3 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,7 @@
opengl.extraPackages = with pkgs; [ opengl.extraPackages = with pkgs; [
intel-media-driver intel-media-driver
]; ];
bluetooth.enable = true;
}; };
boot = { boot = {

View File

@ -23,5 +23,7 @@ in
jack.enable = true; jack.enable = true;
}; };
}; };
programs.dconf.enable = true;
}; };
} }

View File

@ -351,6 +351,12 @@ in
} }
]; ];
}) })
(mkIf config.hardware.bluetooth.enable {
my.tmproot.persistence.config.directories = [ "/var/lib/bluetooth" ];
})
(mkIf config.services.blueman.enable {
my.tmproot.persistence.config.directories = [ "/var/lib/blueman" ];
})
(mkIf config.my.build.isDevVM { (mkIf config.my.build.isDevVM {
fileSystems = mkVMOverride { fileSystems = mkVMOverride {
# Hijack the "root" device for persistence in the VM # Hijack the "root" device for persistence in the VM