mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
outline: Persist state
This commit is contained in:
parent
996cbb34ee
commit
23ebd7d422
1 changed files with 2 additions and 0 deletions
|
|
@ -78,5 +78,7 @@ in
|
||||||
'';
|
'';
|
||||||
restoreCommand.postRestore = "sudo --user=${user} pg_restore --clean --if-exists --dbname outline ${dataDir}/db.dump";
|
restoreCommand.postRestore = "sudo --user=${user} pg_restore --clean --if-exists --dbname outline ${dataDir}/db.dump";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
custom.persist.directories = [ dataDir ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue