refactor(copyparty): inline guest state mount path
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
}:
|
||||
let
|
||||
cfg = config.guests.copyparty; # NOLINT(let_order)
|
||||
stateDir = "/var/lib/copyparty";
|
||||
in
|
||||
{
|
||||
options.guests.copyparty = {
|
||||
@@ -110,7 +109,7 @@ in
|
||||
};
|
||||
|
||||
mounts = {
|
||||
${stateDir} = {
|
||||
${"/var/lib/copyparty"} = {
|
||||
directory = cfg.statePath;
|
||||
owner = config.registry."stable-uid".${config.networking.hostName}.copyparty;
|
||||
group = "storage";
|
||||
|
||||
Reference in New Issue
Block a user