refactor: modulization

This commit is contained in:
DACHXY 2025-04-09 13:24:02 +08:00
parent a29782681a
commit f6acb92ad0
63 changed files with 680 additions and 1959 deletions

27
home/user/yazi.nix Normal file
View file

@ -0,0 +1,27 @@
{
inputs,
system,
pkgs,
...
}:
{
programs = {
yazi = {
enable = true;
package = inputs.yazi.packages.${system}.default;
enableFishIntegration = false;
};
};
home.packages = with pkgs; [
# Drag from yazi
ripdrag
];
home.file = {
".config/yazi" = {
recursive = true;
source = ../config/yazi;
};
};
}