home: put modules into folders

This commit is contained in:
Bruno BELANYI 2021-09-25 15:28:10 +02:00
parent 5b0e0bcbc2
commit dc5a44ce82
24 changed files with 23 additions and 23 deletions

View file

@ -0,0 +1,19 @@
{ config, lib, ... }:
let
cfg = config.my.home.bluetooth;
in
{
options.my.home.bluetooth = with lib; {
enable = mkEnableOption "bluetooth configuration";
};
config = lib.mkIf cfg.enable {
services.blueman-applet = {
enable = true;
};
services.mpris-proxy = {
enable = true;
};
};
}