feat: added logic for blueman activation

This commit is contained in:
Nick 2025-05-12 15:38:52 -05:00
parent 3b3c71e7c1
commit 635e637b15

View file

@ -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;
}