From 4b2b96d13c8ca878c781f28f135af7e703532b91 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Fri, 1 Nov 2024 20:55:12 +0100 Subject: [PATCH] bluetooth.nix: home to system packages --- modules/system/hardware/bluetooth.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/system/hardware/bluetooth.nix b/modules/system/hardware/bluetooth.nix index 73db65f..918d4b1 100644 --- a/modules/system/hardware/bluetooth.nix +++ b/modules/system/hardware/bluetooth.nix @@ -5,7 +5,6 @@ ... }: let cfg = config.modules.system.hardware.bluetooth; - inherit (config.modules.other.system) username; inherit (lib) mkIf; in { config = mkIf cfg.enable { @@ -13,8 +12,7 @@ in { enable = true; powerOnBoot = mkIf cfg.powerOnBoot true; }; - - home-manager.users.${username}.home.packages = with pkgs; [ + environment.systemPackages = with pkgs; [ bluetuith bluez blueman