nixos/services.blueman: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-27 20:43:02 +02:00
parent 24f82fc6b5
commit 38b5d41259

View File

@ -1,20 +1,17 @@
# blueman service
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.blueman;
in {
###### interface
options = {
services.blueman = {
enable = mkEnableOption "blueman, a bluetooth manager";
enable = lib.mkEnableOption "blueman, a bluetooth manager";
};
};
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.blueman ];