22 lines
411 B
Nix
22 lines
411 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;
|
|
prism.enable = true;
|
|
firefox.enable = true;
|
|
stylix.enable = true;
|
|
audio.enable = true;
|
|
};
|
|
};
|
|
}
|