nix

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

config.json.nix (1596B)


      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   		"saturn"
     18   	],
     19   	"fzf_opts": [
     20   		"--highlight-line",
     21   		"--ansi",
     22   		"--layout=reverse",
     23   		"--border=rounded",
     24   		"--color=bg+:#2a1f2e,bg:-1,spinner:#c084b8,hl:#e08060",
     25   		"--color=fg:#c8b8bf,header:#c4607a,info:#7a6e7a,pointer:#c084b8",
     26   		"--color=marker:#e06fad,fg+:#f0dfe5,prompt:#7a9fd4,hl+:#f0a070",
     27   		"--color=border:#3d2a42"
     28   	],
     29   	"fav_dirs": [
     30   		"${homeDir}/src",
     31   		"${homeDir}/src/misc",
     32   		"${homeDir}/src/sr.ht",
     33   		"${homeDir}/misc",
     34   		"${homeDir}/misc/www",
     35   		"${homeDir}/misc/llm",
     36   		"${homeDir}/misc/books",
     37   		"${homeDir}/misc/notes",
     38   		"${homeDir}/.nb/notes",
     39   		"${homeDir}/.nb/work",
     40   		"${homeDir}/misc/screenshots",
     41   		"${homeDir}/misc/recordings",
     42   		"${homeDir}/misc/random",
     43   		"${homeDir}/misc/music",
     44   		"${homeDir}/Downloads",
     45   		"${homeDir}/.tmux"
     46   	],
     47   	"openers": [
     48   		{
     49   			"extensions": ["mp4", "mkv", "avi", "webm"],
     50   			"action": "media_player",
     51   			"command": "mpv"
     52   		},
     53   		{
     54   			"extensions": ["flac", "aiff", "aif", "mp3", "wav"],
     55   			"action": "audio_player",
     56   			"command": "mpv"
     57   		},
     58   		{
     59   			"extensions": ["jpg", "jpeg", "png", "webp", "svg"],
     60   			"action": "image_viewer",
     61   			"command": "nsxiv-rifle"
     62   		},
     63   		{
     64   			"extensions": ["pdf", "epub", "mobi"],
     65   			"action": "document_reader",
     66   			"command": "sioyek"
     67   		}
     68   	]
     69   }
     70 ''