nixos/services.blueman: remove with lib;
This commit is contained in:
parent
24f82fc6b5
commit
38b5d41259
@ -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 ];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user