enable peripherals for all desktop configs

This commit is contained in:
Tyler Starr 2024-10-29 19:58:15 -07:00
parent 27138332c4
commit 145678ae78

View File

@ -1,8 +1,7 @@
{ config, lib, pkgs, user, ... }:
let cfg = config.modules.desktop.peripherals;
let cfg = config.modules.desktop;
in {
options.modules.desktop.peripherals.enable = lib.mkEnableOption "peripherals";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux