From caee3c3931f995d94f979c71a25f796c49f91375 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Mon, 28 Apr 2025 18:19:11 +0200 Subject: [PATCH] fixup! removed seperatehist in favor of default settings attrset. --- contrib/nixos/modules/copyparty.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/nixos/modules/copyparty.nix b/contrib/nixos/modules/copyparty.nix index 004a4daf..3725f8e4 100644 --- a/contrib/nixos/modules/copyparty.nix +++ b/contrib/nixos/modules/copyparty.nix @@ -286,7 +286,7 @@ in { BindPaths = ( if cfg.settings ? hist - then [cfg.hist] + then [cfg.settings.hist] else [] ) ++ [externalStateDir] @@ -344,7 +344,7 @@ in { isSystemUser = true; }; environment.systemPackages = lib.mkIf cfg.mkHashWrapper [ - pkgs.writeShellScriptBin + (pkgs.writeShellScriptBin "copyparty-hash" '' set -a # automatically export variables @@ -357,7 +357,7 @@ in { PATH=${config.systemd.services.copyparty.environment.PATH}:$PATH exec ${command} --ah-cli - '' + '') ]; }); }