mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 01:25:12 -05:00
feat: added logic for blueman activation
This commit is contained in:
parent
3b3c71e7c1
commit
635e637b15
1 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
flake,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.machines) devices;
|
||||
hostname = config.networking.hostName;
|
||||
|
||||
hyprland = config.programs.hyprland.enable;
|
||||
niri = config.programs.niri.enable;
|
||||
in
|
||||
{
|
||||
hardware = {
|
||||
|
@ -25,5 +25,5 @@ in
|
|||
];
|
||||
};
|
||||
};
|
||||
services.blueman.enable = if hostname == devices.deimos.name then false else true;
|
||||
services.blueman.enable = if hyprland || niri == true then true else false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue