2018-02-27 17:24:45 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
|
|
|
|
system.defaults.screencapture.location = mkOption {
|
2018-03-01 13:20:16 +00:00
|
|
|
type = types.nullOr types.str;
|
|
|
|
default = null;
|
2018-02-27 17:24:45 +00:00
|
|
|
description = ''
|
|
|
|
The filesystem path to which screencaptures should be written.
|
|
|
|
'';
|
|
|
|
};
|
2020-04-12 18:18:46 +01:00
|
|
|
|
2022-07-12 14:50:50 -06:00
|
|
|
system.defaults.screencapture.type = mkOption {
|
|
|
|
type = types.nullOr types.str;
|
|
|
|
default = null;
|
|
|
|
description = ''
|
|
|
|
The image format to use, such as "jpg".
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2020-04-12 18:18:46 +01:00
|
|
|
system.defaults.screencapture.disable-shadow = mkOption {
|
2020-04-12 18:21:07 +01:00
|
|
|
type = types.nullOr types.bool;
|
|
|
|
default = null;
|
2020-04-12 18:18:46 +01:00
|
|
|
description = ''
|
2021-10-21 20:36:55 +11:00
|
|
|
Disable drop shadow border around screencaptures. The default is false.
|
2020-04-12 18:18:46 +01:00
|
|
|
'';
|
|
|
|
};
|
2018-02-27 17:24:45 +00:00
|
|
|
};
|
|
|
|
}
|