{ den, ... }: { den.aspects.janitor = { includes = [ den.aspects.janitor-backend ]; nixos = { services.janitor = { enable = true; interval = "1min"; gracePeriod = 60; watchedDirs = [ "~/Downloads" ]; rules = { "Pictures/Downloads" = [ "jpg" "jpeg" "png" "gif" "webp" "svg" "heic" "avif" "ico" ]; "Videos/Downloads" = [ "mp4" "mkv" "mov" "webm" "avi" "flv" ]; "Music/Downloads" = [ "mp3" "flac" "wav" "ogg" "m4a" "opus" ]; "Documents/Downloads" = [ "pdf" "doc" "docx" "odt" "txt" "md" "epub" "ppt" "pptx" "xls" "xlsx" "csv" ]; "Archives/Downloads" = [ "iso" "zip" "tar" "gz" "bz2" "xz" "rar" "7z" ]; "Fonts/Downloads" = [ "ttf" "otf" "woff" "woff2" ]; "3D/Downloads" = [ "blend" "obj" "fbx" "stl" "dae" "3ds" "3mf" ]; "Software/Downloads" = [ "deb" "rpm" "appimage" "jar" "exe" "msi" "flatpak" ]; "Scripts/Downloads" = [ "sh" "py" "lua" ]; "Games/Doom" = [ "wad" "pk3" ]; "Games/Switch" = [ "nsp" "xci" ]; "Games/3DS" = [ "3ds" "cia" ]; "Games/WiiU" = [ "wux" "wud" ]; "Games/Wii" = [ "wbfs" ]; "Games/GameCube" = [ "gcm" ]; "Games/N64" = [ "n64" "z64" ]; "Games/SNES" = [ "sfc" "smc" ]; "Games/NES" = [ "nes" ]; "Games/DS" = [ "nds" "dsi" ]; "Games/GBA" = [ "gba" ]; "Games/GBC" = [ "gbc" ]; "Games/GB" = [ "gb" ]; "Games/PS1" = [ "cue" "bin" ]; "Games/Genesis" = [ "gen" ]; "Games/Dreamcast" = [ "gdi" "cdi" ]; }; }; }; }; }