massive restructure
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
programs.beets.enable = true;
|
||||
|
||||
# programs.beets.package = pkgs.beets.override {
|
||||
# pluginOverrides = {
|
||||
# filetote = {
|
||||
# enable = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
programs.beets.settings = {
|
||||
directory = "/home/user/Music/Tracks";
|
||||
|
||||
plugins = [
|
||||
"fetchart"
|
||||
"badfiles"
|
||||
"edit"
|
||||
"fish"
|
||||
"hook"
|
||||
];
|
||||
|
||||
import = {
|
||||
copy = false;
|
||||
move = true;
|
||||
autotag = false;
|
||||
write = true;
|
||||
};
|
||||
|
||||
paths = {
|
||||
default = "$albumartist/$album/$track. $artist - $title";
|
||||
};
|
||||
|
||||
fetchart = {
|
||||
auto = true;
|
||||
sources = [ "filesystem" ];
|
||||
};
|
||||
|
||||
badfiles = {
|
||||
check_on_import = true;
|
||||
};
|
||||
|
||||
hook = {
|
||||
hooks = [
|
||||
{
|
||||
event = "item_imported";
|
||||
command = "echo test";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./beets.nix
|
||||
];
|
||||
|
||||
home.username = "user";
|
||||
home.homeDirectory = "/home/user";
|
||||
|
||||
programs.yazi.enable = true;
|
||||
programs.yazi.enableFishIntegration = true;
|
||||
|
||||
programs.fzf.enable = true;
|
||||
programs.fzf.enableFishIntegration = true;
|
||||
|
||||
programs.zoxide.enable = true;
|
||||
programs.zoxide.enableFishIntegration = true;
|
||||
|
||||
programs.gcc.enable = true;
|
||||
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
git = true;
|
||||
icons = "always";
|
||||
extraOptions = [
|
||||
"-1"
|
||||
];
|
||||
};
|
||||
|
||||
programs.btop.enable = true;
|
||||
programs.fastfetch.enable = true;
|
||||
programs.fd.enable = true;
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set -g fish_key_bindings fish_hybrid_key_bindings
|
||||
set fish_greeting
|
||||
'';
|
||||
shellAliases = {
|
||||
ls = "eza -al --no-time --no-user --no-permissions --no-filesize";
|
||||
ll = "eza -la";
|
||||
cat = "bat";
|
||||
cd = "z";
|
||||
cp = "cp -v";
|
||||
ff = "fastfetch";
|
||||
grep = "grep -i";
|
||||
mv = "mv -v";
|
||||
n = "nvim";
|
||||
r = "rsync -avh --info=progress2";
|
||||
rm = "gomi";
|
||||
};
|
||||
};
|
||||
|
||||
home.stateVersion = "26.05";
|
||||
}
|
||||
Reference in New Issue
Block a user