mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: added some host logic
This commit is contained in:
parent
31cf224c71
commit
c5b5725c7b
1 changed files with 7 additions and 2 deletions
|
@ -1,8 +1,13 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
flake,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (flake.config.machines) devices;
|
||||
hostname = config.networking.hostName;
|
||||
in
|
||||
{
|
||||
hardware = {
|
||||
bluetooth = {
|
||||
|
@ -20,5 +25,5 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
services.blueman.enable = if hostname == devices.deimos.name then false else true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue