fixup! removed seperatehist in favor of default settings attrset.

This commit is contained in:
Gabe Venberg 2025-04-28 18:19:11 +02:00
parent 3ca7699d95
commit caee3c3931

View file

@ -286,7 +286,7 @@ in {
BindPaths = BindPaths =
( (
if cfg.settings ? hist if cfg.settings ? hist
then [cfg.hist] then [cfg.settings.hist]
else [] else []
) )
++ [externalStateDir] ++ [externalStateDir]
@ -344,7 +344,7 @@ in {
isSystemUser = true; isSystemUser = true;
}; };
environment.systemPackages = lib.mkIf cfg.mkHashWrapper [ environment.systemPackages = lib.mkIf cfg.mkHashWrapper [
pkgs.writeShellScriptBin (pkgs.writeShellScriptBin
"copyparty-hash" "copyparty-hash"
'' ''
set -a # automatically export variables set -a # automatically export variables
@ -357,7 +357,7 @@ in {
PATH=${config.systemd.services.copyparty.environment.PATH}:$PATH PATH=${config.systemd.services.copyparty.environment.PATH}:$PATH
exec ${command} --ah-cli exec ${command} --ah-cli
'' '')
]; ];
}); });
} }