implementing modules for system applications
This commit is contained in:
15
system/modules/sysd/blueman/default.nix
Normal file
15
system/modules/sysd/blueman/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.sysd.blueman;
|
||||
in {
|
||||
options = {
|
||||
modules.sysd.blueman.enable = mkEnableOption "Enables blueman";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.blueman.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user