From 19e3e263610406fca8ca1ed6ecf283deb03d8334 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 18 Mar 2015 03:02:19 +0100 Subject: modules: Properly namespace module attributes. So far the modules were still using the old naming scheme of vuizvui.name where name is the corresponding module name directly instead of the category. Signed-off-by: aszlig --- modules/user/aszlig/zsh/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/user/aszlig/zsh') diff --git a/modules/user/aszlig/zsh/default.nix b/modules/user/aszlig/zsh/default.nix index 4d21e33a..cb8ccd64 100644 --- a/modules/user/aszlig/zsh/default.nix +++ b/modules/user/aszlig/zsh/default.nix @@ -2,12 +2,15 @@ with lib; -{ - options.vuizvui.zsh = { +let + cfg = config.vuizvui.user.aszlig.programs.zsh; + +in { + options.vuizvui.user.aszlig.programs.zsh = { enable = mkEnableOption "zsh"; }; - config = mkIf config.vuizvui.zsh.enable { + config = mkIf cfg.enable { environment.shellInit = '' export EDITOR="vim" export EMAIL="aszlig@redmoonstudios.org" -- cgit 1.4.1