refactor(homeModules/cli): move zsh config to module
This commit is contained in:
parent
991a10ca18
commit
97e4bf372b
4 changed files with 5 additions and 8 deletions
|
@ -1,7 +0,0 @@
|
|||
{ config, lib, pkgs, osConfig, ... }:
|
||||
{
|
||||
imports = [
|
||||
./cli/zsh.nix
|
||||
];
|
||||
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
home.sessionVariables.SHELL = "zsh";
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableVteIntegration = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
history.share = true;
|
||||
history.size = 10000;
|
||||
history.ignoreDups = true;
|
||||
history.ignoreSpace = true;
|
||||
};
|
||||
}
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./cli.nix
|
||||
./desktop.nix
|
||||
];
|
||||
|
||||
cli.shell = "zsh";
|
||||
cli.editor = "nvf";
|
||||
cli.file-browser = "yazi";
|
||||
cli.git.name = "Mohammad Rafiq";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue