refactor: migrate nix-darwin config to a flake-parts dendritic layout

This commit is contained in:
Poby 2026-03-26 09:03:35 +09:00
parent f80b0b0d4f
commit 09801ac429
No known key found for this signature in database
84 changed files with 1029 additions and 687 deletions

View file

@ -0,0 +1,5 @@
{
programs.bat = {
enable = true;
};
}

View file

@ -0,0 +1,13 @@
{...}: {
imports = [
./zoxide.nix
./bat.nix
./eza.nix
./fd.nix
./fzf.nix
./jq.nix
./lazygit.nix
./mise.nix
./ripgrep.nix
];
}

View file

@ -0,0 +1,10 @@
{
programs.eza = {
enable = true;
colors = "auto";
git = true;
icons = "auto";
enableZshIntegration = true;
enableBashIntegration = true;
};
}

View file

@ -0,0 +1,7 @@
{
programs.fd = {
enable = true;
ignores = [".git/"];
hidden = true;
};
}

View file

@ -0,0 +1,7 @@
{
programs.fzf = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
};
}

View file

@ -0,0 +1,3 @@
{
programs.jq.enable = true;
}

View file

@ -0,0 +1,7 @@
{
programs.lazygit = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
};
}

View file

@ -0,0 +1,17 @@
{
programs.mise = {
enable = true;
globalConfig = {
tools = {
node = "lts";
uv = "latest";
python = "3.13";
};
settings = {
experimental = true;
env_file = ".env";
};
};
};
}

View file

@ -0,0 +1,3 @@
{
programs.ripgrep.enable = true;
}

View file

@ -0,0 +1,8 @@
{
programs.zoxide = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
options = ["--cmd j"];
};
}