nixos: enable bluetooth module
This commit is contained in:
parent
794fb16445
commit
05274f898b
5 changed files with 16 additions and 5 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
osConfig,
|
osConfig,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkDefault;
|
|
||||||
inherit (osConfig.ooknet.host) admin;
|
inherit (osConfig.ooknet.host) admin;
|
||||||
in {
|
in {
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
@ -13,7 +12,7 @@ in {
|
||||||
home = {
|
home = {
|
||||||
username = admin.name;
|
username = admin.name;
|
||||||
homeDirectory = "/home/${config.home.username}";
|
homeDirectory = "/home/${config.home.username}";
|
||||||
stateVersion = mkDefault "22.05";
|
stateVersion = "22.05";
|
||||||
sessionPath = ["${config.home.homeDirectory}/.local/bin"];
|
sessionPath = ["${config.home.homeDirectory}/.local/bin"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./ookpower.nix
|
./ookpower.nix
|
||||||
|
./live-buds-cli.nix
|
||||||
./virt-manager.nix
|
./virt-manager.nix
|
||||||
./1password.nix
|
./1password.nix
|
||||||
./ookvolume.nix
|
./ookvolume.nix
|
||||||
|
|
|
||||||
13
modules/home/workstation/tools/live-buds-cli.nix
Normal file
13
modules/home/workstation/tools/live-buds-cli.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
osConfig,
|
||||||
|
self',
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf elem;
|
||||||
|
inherit (osConfig.ooknet.hardware) features;
|
||||||
|
in {
|
||||||
|
config = mkIf (elem "bluetooth" features) {
|
||||||
|
home.packages = [self'.packages.live-buds-cli];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
self,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
@ -16,7 +15,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = attrValues {
|
environment.systemPackages = attrValues {
|
||||||
#inherit (self.packages.${pkgs.system}) live-buds-cli;
|
|
||||||
inherit (pkgs) bluetuith;
|
inherit (pkgs) bluetuith;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,6 @@
|
||||||
./battery.nix
|
./battery.nix
|
||||||
./backlight.nix
|
./backlight.nix
|
||||||
./ssd.nix
|
./ssd.nix
|
||||||
# ./bluetooth.nix
|
./bluetooth.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue