mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): migrate lsd
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
"fileicon" # macOS CLI for managing custom icons for files and folders
|
"fileicon" # macOS CLI for managing custom icons for files and folders
|
||||||
"fish" # TODO: Migrate to nix
|
"fish" # TODO: Migrate to nix
|
||||||
"gettext" # INFO: Dependency of Neovim
|
"gettext" # INFO: Dependency of Neovim
|
||||||
|
"libiconv" # INFO: Dependency of nixpkgs_fmt
|
||||||
"luajit" # INFO: Dependency of Neovim
|
"luajit" # INFO: Dependency of Neovim
|
||||||
"neovim" # TODO: Migrate to nix
|
"neovim" # TODO: Migrate to nix
|
||||||
"oatmeal" # Terminal UI to chat with large language models (LLM) using backends such as Ollama, and direct integrations with your favourite editor like Neovim!
|
"oatmeal" # Terminal UI to chat with large language models (LLM) using backends such as Ollama, and direct integrations with your favourite editor like Neovim!
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ in
|
|||||||
./lazydocker
|
./lazydocker
|
||||||
./lazygit
|
./lazygit
|
||||||
./lf
|
./lf
|
||||||
|
./lsd
|
||||||
./oatmeal
|
./oatmeal
|
||||||
./ripgrep
|
./ripgrep
|
||||||
./ruby
|
./ruby
|
||||||
|
|||||||
94
nix/home/lsd/default.nix
Normal file
94
nix/home/lsd/default.nix
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.lsd =
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
enableAliases = true;
|
||||||
|
settings = {
|
||||||
|
classic = false;
|
||||||
|
blocks = [
|
||||||
|
"permission"
|
||||||
|
"user"
|
||||||
|
"group"
|
||||||
|
"size"
|
||||||
|
"date"
|
||||||
|
"name"
|
||||||
|
];
|
||||||
|
date = "date";
|
||||||
|
dereference = false;
|
||||||
|
icons = {
|
||||||
|
when = "auto";
|
||||||
|
theme = "fancy";
|
||||||
|
separator = " ";
|
||||||
|
};
|
||||||
|
indicators = false;
|
||||||
|
layout = "grid";
|
||||||
|
recursion = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
size = "default";
|
||||||
|
permission = "rwx";
|
||||||
|
sorting = {
|
||||||
|
column = "name";
|
||||||
|
reverse = false;
|
||||||
|
dir-grouping = "none";
|
||||||
|
};
|
||||||
|
no-symlink = false;
|
||||||
|
total-size = false;
|
||||||
|
hyperlink = "never";
|
||||||
|
symlink-arrow = "⇒";
|
||||||
|
header = false;
|
||||||
|
};
|
||||||
|
colors = {
|
||||||
|
user = 230;
|
||||||
|
group = 187;
|
||||||
|
permission = {
|
||||||
|
read = "dark_green";
|
||||||
|
write = "dark_yellow";
|
||||||
|
exec = "dark_red";
|
||||||
|
exec-sticky = 5;
|
||||||
|
no-access = 245;
|
||||||
|
octal = 6;
|
||||||
|
acl = "dark_cyan";
|
||||||
|
context = "cyan";
|
||||||
|
};
|
||||||
|
date = {
|
||||||
|
hour-old = 40;
|
||||||
|
day-old = 42;
|
||||||
|
older = 36;
|
||||||
|
};
|
||||||
|
size = {
|
||||||
|
none = 245;
|
||||||
|
small = 229;
|
||||||
|
medium = 216;
|
||||||
|
large = 172;
|
||||||
|
};
|
||||||
|
inode = {
|
||||||
|
valid = 13;
|
||||||
|
invalid = 245;
|
||||||
|
};
|
||||||
|
links = {
|
||||||
|
valid = 13;
|
||||||
|
invalid = 245;
|
||||||
|
};
|
||||||
|
tree-edge = 245;
|
||||||
|
git-status = {
|
||||||
|
default = 245;
|
||||||
|
unmodified = 245;
|
||||||
|
ignored = 245;
|
||||||
|
new-in-index = "dark_green";
|
||||||
|
new-in-workdir = "dark_green";
|
||||||
|
typechange = "dark_yellow";
|
||||||
|
deleted = "dark_red";
|
||||||
|
renamed = "dark_green";
|
||||||
|
modified = "dark_yellow";
|
||||||
|
conflicted = "dark_red";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
lsd
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user