diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:05:52 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:06:42 +0200 |
| commit | 44da835ac40dab5fd231298b59d83487382d2fab (patch) | |
| tree | 38759adb4565c164518441b6759960e11f1e61c1 /modules/users | |
| parent | 8dfeb92ec1b217898f9cf9f64421120b2a20fed4 (diff) | |
add forward compatibility for literalExample deprecation
Fixes #367
Diffstat (limited to 'modules/users')
| -rw-r--r-- | modules/users/user.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/users/user.nix b/modules/users/user.nix index 44fb107..4060a65 100644 --- a/modules/users/user.nix +++ b/modules/users/user.nix @@ -60,14 +60,14 @@ with lib; shell = mkOption { type = types.either types.shellPackage types.path; default = "/sbin/nologin"; - example = literalExample "pkgs.bashInteractive"; + example = literalExpression "pkgs.bashInteractive"; description = "The user's shell."; }; packages = mkOption { type = types.listOf types.package; default = []; - example = literalExample "[ pkgs.firefox pkgs.thunderbird ]"; + example = literalExpression "[ pkgs.firefox pkgs.thunderbird ]"; description = '' The set of packages that should be made availabe to the user. This is in contrast to <option>environment.systemPackages</option>, |
