From cb0f583ee46618563660f9462beb219bfc4aaad9 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 1 Mar 2024 16:52:46 +0100 Subject: fix(hm/conf/unison): Correctly use the `file_name` and `extisions` values --- hm/soispha/conf/unison/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hm/soispha/conf/unison/default.nix b/hm/soispha/conf/unison/default.nix index 16fc63f1..e36c3918 100644 --- a/hm/soispha/conf/unison/default.nix +++ b/hm/soispha/conf/unison/default.nix @@ -25,8 +25,8 @@ }; paths_to_merge = mkPathName { - file_names = []; - extensions = ["history" "harpoon.json" "file_frecency.bin" "main.shada"]; + file_names = ["history" "harpoon.json" "file_frecency.bin" "main.shada"]; + extensions = []; }; paths_to_keep = [ @@ -64,8 +64,8 @@ extensions, }: builtins.map (x: ''Name ${x}'') ( - (builtins.map (x: ''*.${x}'') file_names) - ++ extensions + (builtins.map (x: ''*.${x}'') extensions) + ++ file_names ); unitName = name: builtins.replaceStrings ["/"] ["-"] name; -- cgit 1.4.1