diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 03:02:19 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 03:02:19 +0100 |
commit | 19e3e263610406fca8ca1ed6ecf283deb03d8334 (patch) | |
tree | d786f4f94a4b0d20a75ba2e7d761392378cfe875 /modules/user/aszlig/zsh | |
parent | e91c0b0c2269a8ab0158863dc1c074daf46001f7 (diff) |
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user/aszlig/zsh')
-rw-r--r-- | modules/user/aszlig/zsh/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
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" |