flake: rework modules folder structure

This commit is contained in:
Veneficium 2024-12-23 19:49:03 +01:00
parent 5d64c56d40
commit 0952665f6b
56 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,19 @@
{
lib,
config,
pkgs,
...
}:
{
options.settings.drivers.ipod = {
enable = lib.mkEnableOption "Enable necessary software for ipod communication";
};
config = lib.mkIf config.settings.drivers.ipod.enable {
services.usbmuxd.enable = true;
environment.systemPackages = with pkgs; [ libimobiledevice ];
};
}