nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

config.json.nix (1610B)


      1 {homeDir, ...}: ''
      2   {
      3   	"editor": "nvim",
      4   	"max_depth": 5,
      5   	"ignored_patterns": [
      6   		".git",
      7   		".jj",
      8   		".zig-cache",
      9   		"target",
     10   		"vendor",
     11   		"node_modules",
     12   		"composer.lock",
     13   		"deps",
     14   		"_build",
     15   		".expert",
     16   		".nix-data",
     17   		".crush",
     18   		".gemini",
     19   		".qwen",
     20   		"saturn"
     21   	],
     22   	"fzf_opts": [
     23   		"--highlight-line",
     24   		"--ansi",
     25   		"--layout=reverse",
     26   		"--border=rounded",
     27   		"--color=bg+:#2a1f2e,bg:-1,spinner:#c084b8,hl:#e08060",
     28   		"--color=fg:#c8b8bf,header:#c4607a,info:#7a6e7a,pointer:#c084b8",
     29   		"--color=marker:#e06fad,fg+:#f0dfe5,prompt:#7a9fd4,hl+:#f0a070",
     30   		"--color=border:#3d2a42"
     31   	],
     32   	"fav_dirs": [
     33   		"${homeDir}/src",
     34   		"${homeDir}/src/nix",
     35   		"${homeDir}/src/napkins",
     36   		"${homeDir}/src/nix/hosts/bbox",
     37   		"${homeDir}/src/nix/modules/mixins/dotfiles",
     38   		"${homeDir}/src/tools",
     39   		"${homeDir}/misc",
     40   		"${homeDir}/misc/llm",
     41   		"${homeDir}/misc/random",
     42   		"${homeDir}/Downloads",
     43   		"${homeDir}/.tmux"
     44   	],
     45   	"openers": [
     46   		{
     47   			"extensions": ["mp4", "mkv", "avi", "webm"],
     48   			"action": "media_player",
     49   			"command": "mpv"
     50   		},
     51   		{
     52   			"extensions": ["flac", "aiff", "aif", "mp3", "wav"],
     53   			"action": "audio_player",
     54   			"command": "mpv"
     55   		},
     56   		{
     57   			"extensions": ["jpg", "jpeg", "png", "webp", "svg"],
     58   			"action": "image_viewer",
     59   			"command": "nsxiv-rifle"
     60   		},
     61   		{
     62   			"extensions": ["pdf", "epub", "mobi"],
     63   			"action": "document_reader",
     64   			"command": "sioyek"
     65   		},
     66   		{
     67   			"extensions": ["html"],
     68   			"action": "web_browser",
     69   			"command": "cha"
     70   		}
     71   	]
     72   }
     73 ''