summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2023-08-10 13:46:47 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2023-08-10 13:46:47 +1000
commitb671517f28ff963a4953b507ce167d6420ee3613 (patch)
treea3b19b36b2deebaa51d97c3569b735e4adeddb46 /modules/system
parent829041cf10c4f6751a53c0a11ca2fd22ff0918d6 (diff)
finder: `types.string` -> `types.str`
`string` was changed from deprecation warning to error in https://github.com/NixOS/nixpkgs/commit/c59c6b1c57da542b6b4af5d2ac27d1b99e7f0c5e
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/defaults/finder.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/defaults/finder.nix b/modules/system/defaults/finder.nix
index 422e888..1137e6c 100644
--- a/modules/system/defaults/finder.nix
+++ b/modules/system/defaults/finder.nix
@@ -30,7 +30,7 @@ with lib;
};
system.defaults.finder.FXDefaultSearchScope = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = lib.mdDoc ''
Change the default search scope. Use "SCcf" to default to current folder.
@@ -39,7 +39,7 @@ with lib;
};
system.defaults.finder.FXPreferredViewStyle = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = lib.mdDoc ''
Change the default finder view.