fix: reenable bluetooth

This commit is contained in:
Swarsel 2024-07-26 12:35:02 +02:00
parent 8a6b311f86
commit 57426b9bf3
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 6 additions and 6 deletions

View file

@ -518,8 +518,7 @@ Lastly I define some common module lists that I can simply load depending on the
# config.allowUnfree = true; # config.allowUnfree = true;
# }; # };
# # NixOS modules that ca # # NixOS modules that can only be used on NixOS systems
n only be used on NixOS systems
nixModules = [ nixModules = [
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
@ -4438,7 +4437,7 @@ Modules that need to be loaded on the NixOS level. Note that these will not be a
#+begin_src nix :tangle modules/home/input.nix #+begin_src nix :tangle modules/home/input.nix
{ lib, config, ... }: { lib, config, ... }:
let let
inherit (lib) mkmkOption types; inherit (lib) mkOption types;
in in
{ {
options.swarselsystems.inputs = mkOption { options.swarselsystems.inputs = mkOption {
@ -4760,6 +4759,7 @@ Enable OpenGL, Sound, Bluetooth and various drivers.
enableAllFirmware = true; enableAllFirmware = true;
bluetooth = lib.mkIf config.swarselsystems.hasBluetooth { bluetooth = lib.mkIf config.swarselsystems.hasBluetooth {
enable = true;
powerOnBoot = true; powerOnBoot = true;
settings = { settings = {
General = { General = {

View file

@ -121,8 +121,7 @@
# config.allowUnfree = true; # config.allowUnfree = true;
# }; # };
# # NixOS modules that ca # # NixOS modules that can only be used on NixOS systems
n only be used on NixOS systems
nixModules = [ nixModules = [
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops

View file

@ -1,6 +1,6 @@
{ lib, config, ... }: { lib, config, ... }:
let let
inherit (lib) mkmkOption types; inherit (lib) mkOption types;
in in
{ {
options.swarselsystems.inputs = mkOption { options.swarselsystems.inputs = mkOption {

View file

@ -20,6 +20,7 @@
enableAllFirmware = true; enableAllFirmware = true;
bluetooth = lib.mkIf config.swarselsystems.hasBluetooth { bluetooth = lib.mkIf config.swarselsystems.hasBluetooth {
enable = true;
powerOnBoot = true; powerOnBoot = true;
settings = { settings = {
General = { General = {