Commit 5d7a9db

HPCesia <me@hpcesia.com>
2026-10-02 16:14:21
git: flatten lfs configs copied from home-manager
1 parent 069c67a
Changed files (1)
modules
modules/dev/git.nix
@@ -35,25 +35,12 @@
             pull.rebase = true;
 
             filter.lfs = let
-              lfsPath =
-                lib.getExe pkgs.git-lfs;
+              lfsPath = lib.getExe pkgs.git-lfs;
             in {
-              clean = "${lfsPath} clean -- %f";
-              process = lib.concatStringsSep " " [
-                lfsPath
-                "filter-process"
-              ];
               required = true;
-              smudge = lib.concatStringsSep " " (
-                [
-                  lfsPath
-                  "smudge"
-                ]
-                ++ [
-                  "--"
-                  "%f"
-                ]
-              );
+              clean = "${lfsPath} clean -- %f";
+              process = "${lfsPath} filter-process";
+              smudge = "${lfsPath} smudge -- %f";
             };
 
             # Delta