From 57426b9bf37cb302bd1b5ff3c3993f685709ab37 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Fri, 26 Jul 2024 12:35:02 +0200 Subject: [PATCH] fix: reenable bluetooth --- SwarselSystems.org | 6 +++--- flake.nix | 3 +-- modules/home/input.nix | 2 +- profiles/common/nixos/hardware.nix | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index 597832e..4d41b2a 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -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 @@ -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 { @@ -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 = { diff --git a/flake.nix b/flake.nix index 38a3d80..882d4d8 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/modules/home/input.nix b/modules/home/input.nix index 8ae25d7..28f4a5b 100644 --- a/modules/home/input.nix +++ b/modules/home/input.nix @@ -1,6 +1,6 @@ { lib, config, ... }: let - inherit (lib) mkmkOption types; + inherit (lib) mkOption types; in { options.swarselsystems.inputs = mkOption { diff --git a/profiles/common/nixos/hardware.nix b/profiles/common/nixos/hardware.nix index 95ede46..96c6927 100644 --- a/profiles/common/nixos/hardware.nix +++ b/profiles/common/nixos/hardware.nix @@ -20,6 +20,7 @@ enableAllFirmware = true; bluetooth = lib.mkIf config.swarselsystems.hasBluetooth { + enable = true; powerOnBoot = true; settings = { General = {