refactor: remove deprecated types.string uses

This commit is contained in:
Colin 2023-05-31 04:27:27 +00:00
parent 287817056f
commit ca38bb4aec
2 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ in
};
sane.gui.sxmo.terminal = mkOption {
# type = types.nullOr (types.enum [ "foot" "st" "vte" ]);
type = types.nullOr types.string;
type = types.nullOr types.str;
default = "foot";
description = ''
name of terminal to use for sxmo_terminal.sh.
@ -99,7 +99,7 @@ in
};
sane.gui.sxmo.keyboard = mkOption {
# type = types.nullOr (types.enum ["wvkbd"])
type = types.nullOr types.string;
type = types.nullOr types.str;
default = "wvkbd";
description = ''
name of on-screen-keyboard to use for sxmo_keyboard.sh.
@ -108,7 +108,7 @@ in
'';
};
sane.gui.sxmo.settings = mkOption {
type = types.attrsOf types.string;
type = types.attrsOf types.str;
default = {};
description = ''
environment variables used to configure sxmo.

View File

@ -26,7 +26,7 @@ in
type = types.bool;
};
sane.nixcache.substituters = mkOption {
type = types.listOf types.string;
type = types.listOf types.str;
default =
# TODO: make these blacklisted entries injectable
(lib.optional (hostName != "servo") "https://nixcache.uninsane.org")