feat: added some host logic

This commit is contained in:
Nick 2025-03-21 18:30:13 -05:00
parent 31cf224c71
commit c5b5725c7b

View file

@ -1,8 +1,13 @@
{ {
pkgs, pkgs,
config,
flake,
... ...
}: }:
let
inherit (flake.config.machines) devices;
hostname = config.networking.hostName;
in
{ {
hardware = { hardware = {
bluetooth = { bluetooth = {
@ -20,5 +25,5 @@
]; ];
}; };
}; };
services.blueman.enable = true; services.blueman.enable = if hostname == devices.deimos.name then false else true;
} }