2023-07-05 21:53:04 +03:00
|
|
|
{
|
2023-08-23 01:56:27 +03:00
|
|
|
services.external-storage = {
|
|
|
|
underlays.heresy = {
|
|
|
|
subUser = "sub1";
|
|
|
|
credentialsFile = ./secrets/storage-box-credentials.age;
|
|
|
|
path = "/fs/heresy";
|
|
|
|
};
|
|
|
|
fileSystems.heresy = {
|
|
|
|
mountpoint = "/srv/heresy";
|
|
|
|
unitName = "heresy";
|
|
|
|
unitDescription = "Heresy Filesystem";
|
|
|
|
encryptionKeyFile = ./secrets/heresy-encryption-key.age;
|
|
|
|
underlay = "heresy";
|
2023-07-05 21:53:04 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|