From a09196c4ae18195a2a8d11f6179e4b2e44430e62 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 24 Feb 2019 20:40:45 +0100 Subject: [PATCH] docs: add language attribute to program listings --- doc/installation.xml | 4 ++-- modules/home-environment.nix | 4 ++-- modules/misc/nixpkgs.nix | 2 +- modules/programs/zsh.nix | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/installation.xml b/doc/installation.xml index 835b6996..281f5067 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -88,7 +88,7 @@ On NixOS you may need to log out and back in for the channel to become available. On non-NixOS you may have to add - + export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH to your shell (see @@ -113,7 +113,7 @@ export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH If you do not plan on having Home Manager manage your shell configuration then you must source the - + $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 6e8c7cf9..49b87275 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -163,7 +163,7 @@ in Note, these variables may be set in any order so no session variable may have a runtime dependency on another session variable. In particular code like - + home.sessionVariables = { FOO = "Hello"; BAR = "$FOO World!"; @@ -172,7 +172,7 @@ in may not work as expected. If you need to reference another session variable, then do so inside Nix instead. The above example then becomes - + home.sessionVariables = { FOO = "Hello"; BAR = "''${config.home.sessionVariables.FOO} World!"; diff --git a/modules/misc/nixpkgs.nix b/modules/misc/nixpkgs.nix index 150cbe74..b59e0d1d 100644 --- a/modules/misc/nixpkgs.nix +++ b/modules/misc/nixpkgs.nix @@ -80,7 +80,7 @@ in inside and outside Home Manager you can put it in a separate file and include something like - + nixpkgs.config = import ./nixpkgs-config.nix; xdg.configFile."nixpkgs/config.nix".source = ./nixpkgs-config.nix; diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index e7631309..55ed4757 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -174,7 +174,7 @@ in default = true; description = '' Enable zsh completion. Don't forget to add - + environment.pathsToLink = [ "/share/zsh" ]; to your system configuration to get completion for system packages (e.g. systemd).