summaryrefslogtreecommitdiff
path: root/modules/system/defaults
diff options
context:
space:
mode:
authorcmacrae <calum0macrae@gmail.com>2018-02-27 17:24:45 +0000
committercmacrae <calum0macrae@gmail.com>2018-02-27 17:24:45 +0000
commit55f4331e739904ded81ede32117d12301c2cfbaa (patch)
treeaba739dd46399f6fc221d9b3f2462d3c45214fae /modules/system/defaults
parente9fc93dab56e3a383db61501beafc0070e120dca (diff)
defaults: Add screencapture.location
Diffstat (limited to 'modules/system/defaults')
-rw-r--r--modules/system/defaults/screencapture.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/system/defaults/screencapture.nix b/modules/system/defaults/screencapture.nix
new file mode 100644
index 0000000..42fe6b6
--- /dev/null
+++ b/modules/system/defaults/screencapture.nix
@@ -0,0 +1,16 @@
+{ config, lib, ... }:
+
+with lib;
+
+{
+ options = {
+
+ system.defaults.screencapture.location = mkOption {
+ type = types.string;
+ default = "~/Desktop";
+ description = ''
+ The filesystem path to which screencaptures should be written.
+ '';
+ };
+ };
+}