Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
configFile = "yazi/yazi.toml";
|
||||
toTOML = (pkgs.formats.toml {}).generate;
|
||||
in {
|
||||
users.users.someone.packages = [pkgs.yazi];
|
||||
xdg.configFile."${configFile}".source = toTOML "yazi.toml" {
|
||||
mgr = {
|
||||
layout = [1 4 3];
|
||||
sort_by = "alphabetical";
|
||||
sort_sensitive = true;
|
||||
sort_reverse = false;
|
||||
sort_dir_first = true;
|
||||
linemode = "none";
|
||||
show_hidden = false;
|
||||
show_symlink = true;
|
||||
};
|
||||
preview = {
|
||||
tab_size = 2;
|
||||
max_width = 600;
|
||||
max_height = 900;
|
||||
cache_dir = "${config.xdg.cacheHome}";
|
||||
};
|
||||
flavor = {
|
||||
dark = "noctalia";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{pkgs, ...}: let
|
||||
configFile = "yazi/theme.toml";
|
||||
toTOML = (pkgs.formats.toml {}).generate;
|
||||
in {
|
||||
users.users.someone.packages = [pkgs.yazi];
|
||||
xdg.configFile."${configFile}".source = toTOML "theme.toml" {
|
||||
icons = {
|
||||
"*" = "";
|
||||
"*.7z" = "";
|
||||
"*.HEIC" = "";
|
||||
"*.aac" = "";
|
||||
"*.avi" = "";
|
||||
"*.avif" = "";
|
||||
"*.bin" = "";
|
||||
"*.bmp" = "";
|
||||
"*.bz2" = "";
|
||||
"*.c" = "";
|
||||
"*.conf" = "";
|
||||
"*.cpp" = "";
|
||||
"*.css" = "";
|
||||
"*.csv" = "";
|
||||
"*.doc" = "";
|
||||
"*.doct" = "";
|
||||
"*.docx" = "";
|
||||
"*.dot" = "";
|
||||
"*.exe" = "";
|
||||
"*.fish" = "";
|
||||
"*.flac" = "";
|
||||
"*.gif" = "";
|
||||
"*.go" = "";
|
||||
"*.gz" = "";
|
||||
"*.h" = "";
|
||||
"*.hpp" = "";
|
||||
"*.hs" = "";
|
||||
"*.html" = "";
|
||||
"*.ico" = "";
|
||||
"*.ini" = "";
|
||||
"*.java" = "";
|
||||
"*.jpeg" = "";
|
||||
"*.jpg" = "";
|
||||
"*.js" = "";
|
||||
"*.json" = "";
|
||||
"*.jsx" = "";
|
||||
"*.lock" = "";
|
||||
"*.lua" = "";
|
||||
"*.m4a" = "";
|
||||
"*.md" = "";
|
||||
"*.mkv" = "";
|
||||
"*.mov" = "";
|
||||
"*.mp2" = "";
|
||||
"*.mp3" = "";
|
||||
"*.mp4" = "";
|
||||
"*.nix" = "";
|
||||
"*.ods" = "";
|
||||
"*.ogg" = "";
|
||||
"*.ots" = "";
|
||||
"*.pdf" = "";
|
||||
"*.php" = "";
|
||||
"*.pkg" = "";
|
||||
"*.png" = "";
|
||||
"*.pom" = "";
|
||||
"*.pot" = "";
|
||||
"*.potx" = "";
|
||||
"*.ppm" = "";
|
||||
"*.ppmx" = "";
|
||||
"*.pps" = "";
|
||||
"*.ppsx" = "";
|
||||
"*.ppt" = "";
|
||||
"*.pptx" = "";
|
||||
"*.py" = "";
|
||||
"*.rb" = "";
|
||||
"*.rs" = "";
|
||||
"*.rst" = "";
|
||||
"*.sass" = "";
|
||||
"*.scss" = "";
|
||||
"*.sh" = "";
|
||||
"*.svg" = "";
|
||||
"*.swift" = "";
|
||||
"*.tar" = "";
|
||||
"*.toml" = "";
|
||||
"*.ts" = "";
|
||||
"*.tsx" = "";
|
||||
"*.txt" = "";
|
||||
"*.vim" = "";
|
||||
"*.wav" = "";
|
||||
"*.webm" = "";
|
||||
"*.webp" = "";
|
||||
"*.xcf" = "";
|
||||
"*.xlc" = "";
|
||||
"*.xlm" = "";
|
||||
"*.xls" = "";
|
||||
"*.xlsm" = "";
|
||||
"*.xlsx" = "";
|
||||
"*.xlt" = "";
|
||||
"*.xz" = "";
|
||||
"*.yaml" = "";
|
||||
"*.yml" = "";
|
||||
"*.zip" = "";
|
||||
"*/" = "";
|
||||
".DS_Store" = "";
|
||||
".bashprofile" = "";
|
||||
".bashrc" = "";
|
||||
".config/" = "";
|
||||
".git/" = "";
|
||||
".gitattributes" = "";
|
||||
".gitignore" = "";
|
||||
".gitmodules" = "";
|
||||
".ssh/" = "";
|
||||
".vimrc" = "";
|
||||
".zprofile" = "";
|
||||
".zshenv" = "";
|
||||
".zshrc" = "";
|
||||
COPYING = "";
|
||||
Containerfile = "";
|
||||
"Desktop/" = "";
|
||||
"Development/" = "";
|
||||
Dockerfile = "";
|
||||
"Documents/" = "";
|
||||
"Downloads/" = "";
|
||||
LICENSE = "";
|
||||
"Library/" = "";
|
||||
"Movies/" = "";
|
||||
"Music/" = "";
|
||||
"Pictures/" = "";
|
||||
"Public/" = "";
|
||||
"Videos/" = "";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user