refactor(nixos): use new persistDirs option and remove environment.persistence where possible
This commit is contained in:
parent
16b7f375bd
commit
77d8ed7a13
9 changed files with 98 additions and 36 deletions
|
@ -33,7 +33,7 @@ in
|
|||
message = "You must enable a local instance of postgresql.";
|
||||
}
|
||||
];
|
||||
environment.persistence."/persist".directories = [
|
||||
persistDirs = [
|
||||
(mkDir cfg.configDir)
|
||||
(mkDir cfg.logDir)
|
||||
(mkDir cfg.dataDir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue