about summary refs log tree commit diff
path: root/nixos/modules/programs/shadow.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-06-18 22:40:37 +0200
committeraszlig <aszlig@redmoonstudios.org>2014-06-19 01:51:33 +0200
commit3e64126344980c520ab8c99b967d74ed8fed27cf (patch)
tree4c79c2588196b78d27909f90f2f2cdfe1c6c566e /nixos/modules/programs/shadow.nix
parent72a0bcd49f6d47565753a32fc9c73fa6e0ec7e69 (diff)
downloadnixlib-3e64126344980c520ab8c99b967d74ed8fed27cf.tar
nixlib-3e64126344980c520ab8c99b967d74ed8fed27cf.tar.gz
nixlib-3e64126344980c520ab8c99b967d74ed8fed27cf.tar.bz2
nixlib-3e64126344980c520ab8c99b967d74ed8fed27cf.tar.lz
nixlib-3e64126344980c520ab8c99b967d74ed8fed27cf.tar.xz
nixlib-3e64126344980c520ab8c99b967d74ed8fed27cf.tar.zst
nixlib-3e64126344980c520ab8c99b967d74ed8fed27cf.zip
nixos/shadow: Add an example for defaultUserShell.
Thanks to @devhell for the suggestion.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/modules/programs/shadow.nix')
-rw-r--r--nixos/modules/programs/shadow.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/programs/shadow.nix b/nixos/modules/programs/shadow.nix
index 27a18c726a3a..5fcd2133a7e1 100644
--- a/nixos/modules/programs/shadow.nix
+++ b/nixos/modules/programs/shadow.nix
@@ -48,6 +48,7 @@ in
         Rather, it should be the path of a symlink that points to the
         actual shell in the Nix store.
       '';
+      example = "/run/current-system/sw/bin/zsh";
       type = types.path;
     };