shell organization
This commit is contained in:
@@ -1,19 +1,27 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
flake.homeModules.shell = {pkgs, ...}: {
|
||||
imports = with inputs.self.homeModules; [
|
||||
# Shells
|
||||
bash
|
||||
zsh
|
||||
|
||||
# Tools
|
||||
files
|
||||
docker
|
||||
];
|
||||
|
||||
flake.homeModules.shell = {pkgs, ...}:
|
||||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
package = pkgs.eza;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
extraOptions = [
|
||||
"-lgos type --no-time"
|
||||
];
|
||||
};
|
||||
|
||||
imports = with inputs.self.homeModules; [
|
||||
zsh
|
||||
files
|
||||
docker
|
||||
];
|
||||
home.shell.enableShellIntegration = true;
|
||||
home.shellAliases = {
|
||||
ls = "${lib.getExe pkgs.eza} -lgos type --no-time --follow-symlinks";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user