about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2018-12-18 23:18:27 +0100
committerGitHub <noreply@github.com>2018-12-18 23:18:27 +0100
commit83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0 (patch)
treef64ae9f1432c315de55ef36220f7cdaccb192fe0 /nixos
parent7e7ff8f219dfba560b95e71c27c32f10c74f9278 (diff)
parent685c4f56083272594a53143c19c08906961c4b23 (diff)
downloadnixlib-83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0.tar
nixlib-83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0.tar.gz
nixlib-83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0.tar.bz2
nixlib-83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0.tar.lz
nixlib-83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0.tar.xz
nixlib-83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0.tar.zst
nixlib-83fe20e57fa7c6e6eff7a4808a0ace0c9ca20ad0.zip
Merge pull request #52485 from pablode/master
nixos/oh-my-zsh: fix wrong manual information
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/zsh/oh-my-zsh.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/programs/zsh/oh-my-zsh.xml b/nixos/modules/programs/zsh/oh-my-zsh.xml
index 5cf690c1a560..b26980daf067 100644
--- a/nixos/modules/programs/zsh/oh-my-zsh.xml
+++ b/nixos/modules/programs/zsh/oh-my-zsh.xml
@@ -19,7 +19,7 @@
    configuration format of <literal>oh-my-zsh</literal>.
 <programlisting>
 {
-  programs.ohMyZsh = {
+  programs.zsh.ohMyZsh = {
     enable = true;
     plugins = [ "git" "python" "man" ];
     theme = "agnoster";
@@ -51,7 +51,7 @@
    The module can do this as well:
 <programlisting>
 {
-  programs.ohMyZsh.custom = "~/path/to/custom/scripts";
+  programs.zsh.ohMyZsh.custom = "~/path/to/custom/scripts";
 }
 </programlisting>
   </para>
@@ -73,7 +73,7 @@
 <programlisting>
 { pkgs, ... }:
 {
-  programs.ohMyZsh.customPkgs = with pkgs; [
+  programs.zsh.ohMyZsh.customPkgs = with pkgs; [
     pkgs.nix-zsh-completions
     # and even more...
   ];
@@ -87,7 +87,7 @@
 
   <para>
    <emphasis>Please keep in mind that this is not compatible with
-   <literal>programs.ohMyZsh.custom</literal> as it requires an immutable store
+   <literal>programs.zsh.ohMyZsh.custom</literal> as it requires an immutable store
    path while <literal>custom</literal> shall remain mutable! An evaluation
    failure will be thrown if both <literal>custom</literal> and
    <literal>customPkgs</literal> are set.</emphasis>