about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-01 16:52:46 +0100
committerSoispha <soispha@vhack.eu>2024-03-01 16:52:46 +0100
commitcb0f583ee46618563660f9462beb219bfc4aaad9 (patch)
tree0dd67c72b92f510d7c909dcd701b811360c87b3f
parentfix(hm/conf/unison): Add missing `diff` dependency for diffs (diff)
downloadnixos-config-cb0f583ee46618563660f9462beb219bfc4aaad9.tar.gz
nixos-config-cb0f583ee46618563660f9462beb219bfc4aaad9.zip
fix(hm/conf/unison): Correctly use the `file_name` and `extisions` values
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/unison/default.nix8
1 files 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;