about summary refs log tree commit diff stats
path: root/sys/options/default.nix
blob: 72ebc4fb70a583784454e6385d82995bdc74d16e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  config,
  ...
}: let
  cfg = config.soispha;
in {
  options.soispha = {
    laptop = {
      enable = lib.mkEnableOption "Laptop improvemens";
      backlight = lib.mkOption {
        type = lib.types.str;
        example = lib.mdDoc "intel_backlight";
        description = lib.mdDoc "Which backlight to query for the screen brightness";
      };
    };
    secrets = {
      #enable = lib.mkEnableOption "Secrets through agenix";
      enable = lib.mkOption {
        type = lib.types.bool;
        default = true;
        description = lib.mdDoc "Enable secrets through agenix";
      };
    };
  };
}