{ lib, config, pkgs, ... }: let inherit (lib) mkIf mkOption types; in { options.smayzy.laptop.enable = mkOption { type = types.bool; default = false; description = "laptop settings"; }; config = mkIf config.smayzy.laptop.enable { smayzy = { base = true; grub-on-lap.enable = true; prism.enable = true; firefox.enable = true; librewolf.enable = true; floorp.enable = true; stylix.enable = true; audio.enable = true; office.enable= true; webcord.enable = true; element.enable = true; }; services.logind.lidSwitch = "ignore"; }; }