about summary refs log blame commit diff stats
path: root/sys/options/default.nix
blob: 2beba8553d100e9372bffb1dce62f4077eb7cd6d (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                       

                
                     
                                                       




                                                                                     






                                                                
    
{
  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";
      };
    };
  };
}