Skip to content

Commit

Permalink
chore(eza): use seprate file for the config
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Sep 28, 2024
1 parent ef0ba97 commit 834e5f9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ let
./direnv.nix
./fzf.nix
./nix.nix
./eza.nix
];
in
{
Expand Down
10 changes: 10 additions & 0 deletions modules/eza.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ ... }:
{
programs.eza = {
enable = true;
enableZshIntegration = true;
icons = true;
git = true;
extraOptions = [ "-T" "-L" "1"];
};
}
6 changes: 3 additions & 3 deletions modules/ssh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
AddKeysToAgent = "yes";
};
};
"Host wolf.pwnwriter.xyz" = {
user = "wolf";
hostname = "wolf.pwnwriter.xyz";
"Host fawn" = {
user = "fawn";
hostname = "fawn.pwnwriter.xyz";
};
};
};
Expand Down
2 changes: 0 additions & 2 deletions modules/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
vim = "nvim";

cat = "bat";
ls = "eza --icons -T -L 1 -x";
ll = "eza --icons -T -L 2 -x";
cp = "cp -iv";
bc = "bc -ql";

Expand Down

0 comments on commit 834e5f9

Please sign in to comment.