diff options
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/conf/unison/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hm/soispha/conf/unison/default.nix b/hm/soispha/conf/unison/default.nix index 831993c1..9703068d 100644 --- a/hm/soispha/conf/unison/default.nix +++ b/hm/soispha/conf/unison/default.nix @@ -99,6 +99,7 @@ else if builtins.typeOf val == "list" then lib.strings.concatStringsSep " " (builtins.map (serialiseArg key) val) else builtins.throw "Unsupported type: ${builtins.typeOf val}"; + serialiseArgs = args: lib.strings.concatStringsSep " " ( lib.attrsets.mapAttrsToList @@ -130,7 +131,7 @@ in { home.packages = [ pkgs.unison (sysLib.writeShellScript { - name = "unison-backup"; + name = "unison-sync"; src = builtins.toFile "unison-backup" ('' #!/usr/bin/env sh export UNISON=${esa unisonPath}; |