diff options
author | Soispha <soispha@vhack.eu> | 2024-02-23 21:08:49 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-23 21:18:44 +0100 |
commit | 0e12e45e8b2684d2769fb15ffd958286f2726b0e (patch) | |
tree | 08c4554d49e04c36c100b5b629cba15421136495 | |
parent | feat(hm/pkgs/mpc): Init (diff) | |
download | nixos-config-0e12e45e8b2684d2769fb15ffd958286f2726b0e.tar.gz nixos-config-0e12e45e8b2684d2769fb15ffd958286f2726b0e.zip |
refactor(hm/conf/unison): Rename the script to `unison-sync`
'Backup' is in this context just wrong.
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}; |