summaryrefslogtreecommitdiff
path: root/modules/system/defaults/screencapture.nix
blob: 4483fd630b4b14af988696951df31ec8f3020ed8 (plain)
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
30
31
32
{ config, lib, ... }:

with lib;

{
  options = {

    system.defaults.screencapture.location = mkOption {
      type = types.nullOr types.str;
      default = null;
      description = lib.mdDoc ''
          The filesystem path to which screencaptures should be written.
        '';
    };

    system.defaults.screencapture.type = mkOption {
      type = types.nullOr types.str;
      default = null;
      description = lib.mdDoc ''
          The image format to use, such as "jpg".
        '';
    };

    system.defaults.screencapture.disable-shadow = mkOption {
      type = types.nullOr types.bool;
      default = null;
      description = lib.mdDoc ''
          Disable drop shadow border around screencaptures. The default is false.
        '';
    };
  };
}