diff options
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" |