aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shell/zsh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/shell/zsh/default.nix')
-rw-r--r--modules/shell/zsh/default.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix
deleted file mode 100644
index 96df967..0000000
--- a/modules/shell/zsh/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
- options.shell.zsh = {
- enable = lib.mkEnableOption "Enables zsh.";
- };
-
- config = lib.mkIf config.shell.zsh.enable {
- shell.default = lib.mkDefault "zsh";
- shell.command =
- lib.mkIf
- (config.shell.default == "zsh")
- "${pkgs.zsh}/bin/zsh";
-
- programs.zsh.enable = true;
- programs.zsh.dotDir = ".config/zsh";
- programs.zsh.history.path = "${config.xdg.cacheHome}/zsh/history";
- programs.zsh.shellAliases = config.shell.alias;
- programs.zsh.initExtra = ''
-${if config.tools.utils.fzf.enable then
- "eval \"$(fzf --zsh)\""
-else ""}
-${builtins.readFile ./zshrc}
-${if config.scripts.enable then
- "export PATH=${config.home.homeDirectory}/scripts:$PATH"
-else ""}
- '';
- };
-}