nix-config/modules/nix/groups/laptop.nix
2025-07-09 13:18:40 +02:00

27 lines
572 B
Nix

{ 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;
};
services.logind.lidSwitch = "ignore";
};
}