about summary refs log tree commit diff stats
path: root/sys/options/default.nix
blob: 2beba8553d100e9372bffb1dce62f4077eb7cd6d (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
27
28
29
{
  lib,
  config,
  ...
}: let
  cfg = config.soispha;
in {
  imports = [
    ./secret.nix
  ];
  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";
      };
    };
  };
}