about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 15:02:57 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 15:03:37 +0100
commitcdd013201986b3c75df01f65fca1d51687938718 (patch)
treebbc887e96331b228134f83c0df6e164d06da0166 /modules
parentfix(modules/legacy/conf/firefox/scripts/unzip_mozlz4.py): Only print when not... (diff)
downloadnixos-config-cdd013201986b3c75df01f65fca1d51687938718.tar.gz
nixos-config-cdd013201986b3c75df01f65fca1d51687938718.zip
fix(modules/lf/ctpv/prev/{any,inode}): Use the correct module options
Diffstat (limited to '')
-rw-r--r--modules/by-name/lf/lf/ctpv/prev/default.nix2
-rw-r--r--modules/by-name/lf/lf/ctpv/prev/inode/default.nix6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/by-name/lf/lf/ctpv/prev/default.nix b/modules/by-name/lf/lf/ctpv/prev/default.nix
index d8ab36c4..211a20bd 100644
--- a/modules/by-name/lf/lf/ctpv/prev/default.nix
+++ b/modules/by-name/lf/lf/ctpv/prev/default.nix
@@ -8,8 +8,8 @@ in {
   soispha.programs.lf.ctpv.previewers = {
     any = {
       previewer = ./any.sh;
-      mime_matches = ["*/*"];
       priority = -1;
+      matches.mime = ["*/*"];
       replacementStrings = {
         STORAGE_DIRECTORY = "${cfg.ctpv.xdgDataHome}/ctpv/missing_previews";
       };
diff --git a/modules/by-name/lf/lf/ctpv/prev/inode/default.nix b/modules/by-name/lf/lf/ctpv/prev/inode/default.nix
index 1261727e..bed0b81a 100644
--- a/modules/by-name/lf/lf/ctpv/prev/inode/default.nix
+++ b/modules/by-name/lf/lf/ctpv/prev/inode/default.nix
@@ -1,15 +1,15 @@
-{ ...}: {
+{...}: {
   soispha.programs.lf.ctpv.previewers = {
     ls = {
       previewer = ./ls.sh;
       priority = 1;
-      mime_matches = ["inode/directory"];
+      matches.mime = ["inode/directory"];
       dependencies = [];
     };
     symlink = {
       previewer = ./symlink.sh;
       priority = 1;
-      mime_matches = ["inode/symlink"];
+      matches.mime = ["inode/symlink"];
       dependencies = [];
     };
   };