mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
fixup! removed seperatehist in favor of default settings attrset.
This commit is contained in:
parent
3ca7699d95
commit
caee3c3931
|
@ -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
|
||||||
''
|
'')
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue