bluetooth.nix: home to system packages
This commit is contained in:
parent
fb4ebc9f58
commit
4b2b96d13c
1 changed files with 1 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.modules.system.hardware.bluetooth;
|
cfg = config.modules.system.hardware.bluetooth;
|
||||||
inherit (config.modules.other.system) username;
|
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
@ -13,8 +12,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
powerOnBoot = mkIf cfg.powerOnBoot true;
|
powerOnBoot = mkIf cfg.powerOnBoot true;
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
home-manager.users.${username}.home.packages = with pkgs; [
|
|
||||||
bluetuith
|
bluetuith
|
||||||
bluez
|
bluez
|
||||||
blueman
|
blueman
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue