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 # blueman service
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib;
let let
cfg = config.services.blueman; cfg = config.services.blueman;
in { in {
###### interface ###### interface
options = { options = {
services.blueman = { services.blueman = {
enable = mkEnableOption "blueman, a bluetooth manager"; enable = lib.mkEnableOption "blueman, a bluetooth manager";
}; };
}; };
###### implementation ###### implementation
config = mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.blueman ]; environment.systemPackages = [ pkgs.blueman ];