Skip to content

Commit

Permalink
fix: reenable bluetooth
Browse files Browse the repository at this point in the history
  • Loading branch information
Swarsel committed Jul 26, 2024
1 parent 8a6b311 commit 57426b9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions SwarselSystems.org
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,7 @@ Lastly I define some common module lists that I can simply load depending on the
# config.allowUnfree = true;
# };

# # NixOS modules that ca
n only be used on NixOS systems
# # NixOS modules that can only be used on NixOS systems
nixModules = [
inputs.stylix.nixosModules.stylix
inputs.sops-nix.nixosModules.sops
Expand Down Expand Up @@ -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
{ lib, config, ... }:
let
inherit (lib) mkmkOption types;
inherit (lib) mkOption types;
in
{
options.swarselsystems.inputs = mkOption {
Expand Down Expand Up @@ -4760,6 +4759,7 @@ Enable OpenGL, Sound, Bluetooth and various drivers.
enableAllFirmware = true;

bluetooth = lib.mkIf config.swarselsystems.hasBluetooth {
enable = true;
powerOnBoot = true;
settings = {
General = {
Expand Down
3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@
# config.allowUnfree = true;
# };

# # NixOS modules that ca
n only be used on NixOS systems
# # NixOS modules that can only be used on NixOS systems
nixModules = [
inputs.stylix.nixosModules.stylix
inputs.sops-nix.nixosModules.sops
Expand Down
2 changes: 1 addition & 1 deletion modules/home/input.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, config, ... }:
let
inherit (lib) mkmkOption types;
inherit (lib) mkOption types;
in
{
options.swarselsystems.inputs = mkOption {
Expand Down
1 change: 1 addition & 0 deletions profiles/common/nixos/hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
enableAllFirmware = true;

bluetooth = lib.mkIf config.swarselsystems.hasBluetooth {
enable = true;
powerOnBoot = true;
settings = {
General = {
Expand Down

0 comments on commit 57426b9

Please sign in to comment.